hello.js

var please = require('share');
console.log('thank you');

Sunday, 15 April, 2018 UTC

How to Handle Monetary Values in JavaScript

How to Handle Monetary Values in JavaScript

Money is everywhere . Banking apps, e-commerce websites, stock exchange platforms, we interact with money daily. We also increasingly rely on technology to handle ours. Yet, there’s no consensus around how to programmatically handle monetary values. ... more


Thursday, 29 March, 2018 UTC

Setup For an Open Source JavaScript Project

Setup For an Open Source JavaScript Project

When I started my career, my mentor told me: “A good developer is a lazy developer. Don’t waste time on repetitive tasks, instead spend it on building automated processes. The computer works for you, and it will always be faster than you.” This was back ... more


Monday, 29 January, 2018 UTC

Multi-Colored SVG Symbol Icons with CSS Variables

Multi-Colored SVG Symbol Icons with CSS Variables

Long gone are the days of using images and CSS sprites to make icons for the web. With the explosion of web fonts, icon fonts have become the number one solution for displaying icons in your web projects. Fonts are vectors, so you don’t have to worry ... more


Monday, 15 January, 2018 UTC

In Defense of Utility-First CSS

In Defense of Utility-First CSS

“Favor composition over inheritance” . This piece of wisdom from Design Patterns , one of the most influential software engineering books, is the foundation of utility-first CSS . It also shares many principles with functional programming : immutability, ... more


Tuesday, 26 December, 2017 UTC

Build Your First Vue.js Component

Build Your First Vue.js Component

I remember when I picked up CakePHP back in the days, I loved how easy it was to get started with. Not only were the docs well-structured and exhaustive, but they were also user-friendly. Years later, this is exactly what I found with Vue.js. Yet there’s ... more


Monday, 13 November, 2017 UTC

Write More Understandable Code With Hungarian Notation

Write More Understandable Code With Hungarian Notation

It happens all the time: you start a new project and everything goes smoothly. You have firm control of your codebase and productivity is on point. Then another project comes along, and before you know it six months have passed before you come back to ... more


Saturday, 26 August, 2017 UTC

Build a Simple Validator Service in JavaScript

Build a Simple Validator Service in JavaScript

Data validation is a pain . Not only is it hard to do it right, but it can also be difficult to implement without making a mess. When trying to validate data before saving it, it’s easy to pollute methods and violate many programming best practices. ... more


Saturday, 12 August, 2017 UTC

A Better Way to Perform Multiple Comparisons in JavaScript

A Better Way to Perform Multiple Comparisons in JavaScript

Having to compare a value with a bunch of other values is a common, even trivial task for a developer. It’s something you probably don’t even think about when you have to do it. Look at the following JavaScript example: var name = 'Kurt'; if (name === ... more


Thursday, 22 June, 2017 UTC

You Need to Stop Targeting Tags in CSS

You Need to Stop Targeting Tags in CSS

CSS seems easy to most developers. Because of its apparent simplicity, and because it’s so flexible, you can easily bend it to your needs and make it work. Problem is, it often makes up for a lack of knowledge of how the language works and it doesn’t ... more