Do not complicate - One-time variables

We as a programmers tend to complicate things. A lot and very often. There are so many aspects of our job when we gets blinded and do the unnecessary things here and there. This activities introduces complication, distraction and absurdity. For this reason, I decided to start with "Do not complicate" series. First of all, I'm aware that some topics, if not the most, are very basic so please do not call me Captain Obvious, just read on and find out that despite its simplicity so many programmers makes that fundamental mistakes again and again, including myself.

Code formatting or There and Back Again

Today I would like to take you on a journey into the times where Alexander Fleming accidentally rediscovered the antibiotic Penicillin, British inventor John Logie Baird demonstrated the world's first colour television transmission and software was developed using Punched cards.

Manage web project dependencies using NPM

Libraries/Dependencies/Packages - there are many names for reusable pieces of code. We are using them from the begin of software engineering. They help us to resolve complex problems with relatively small effort. Nowadays, even simple projects may depend on many different sources spread across the internet. Downloading libraries by hand from the websites is not the best way to include them in our projects. Storing libraries on disk, or worse, keeping them in VCS is really bad idea. Staying up-to-date is another issue. Java world, for example, has their maven to automate dependencies management. It works ok with jars not with java scripts. How modern web resolve these problems...