Why frameworks like ReactJS have the HTML in the JavaScript?

TL;DR We keep the html in the javascript prerendered in order to achieve server side rendering and not track change. Makes our lives easier and our software less error prone. A friend of mine recently start looking at modern JavaScript frameworks for a new project that he鈥檚 starting. I told him to look towards ReactJS and Angular 2. He also has a long love towards EmberJS so that was in the options too....

Cowboy Programming

Recently i stumbled on this, fairly, old article from Evan Miller talking about Julia programming language. It鈥檚 a nicely written article about the strong parts of Julia and it鈥檚 worth your time. Early in his article, Evan, mentions cowboy programming as a method that most developers are using to quickly create something that works. I am doing the same and i bet you do too. According to Evan this progress has three main stages....

My glasses are from Texas

One of the first things i remember of my self is being really really young (5-6 years old) and sitting very very close to the TV and watching Inspector Gadget. Turns out I was nearsighted. I remember myself wearing glasses since the age of 7. There are no pictures of me without glasses. I kinda like glasses too. The problem is though that my prescription is way too strong, it鈥檚 not uncommon for my lenses to cost around the 300拢 mark....

Removing a specific commit from Git

Today was one of those days that the team realises that one of the commits, from the past couple of days, was introducing all sorts of side effects. The commit itself was doing some heavy refactoring on a piece of code that wasn鈥檛 supported by unit tests, therefore introducing defects. The obvious thing to take from that is that you should ALWAYS have unit tests around your code. If you don鈥檛 this is your chance to write them before you refactor....

Getting Started with React: The very basics

React is a, fairly, new Library created by the awesome people at Facebook. React is an excellent library for creating components and use it as the V in the MVC. React is easy to use all by itself or use it as part of the BackboneJS application, or any other way you fancy. That versatility is what makes React awesome. Also you can create mobile applications using React native, which is really great....

The Case of recursive functions in Javascript

Recursive functions are awesome! It鈥檚 one of those concepts that make software development magical. The ability to use a function, inside itself even before you complete the implementation, is mind blowing. Also recursive functions are one of the strong points of functional programming, and let鈥檚 not forget that Javascript is a functional language. That been said, outside of algorithmic exercises I haven鈥檛 found much practical use for recursive functions in real world scenarios....

Side projects: From experiment, to idea, to hitting the wall

For the past 6 months I鈥檝e been working on a new side project. It all started when i wanted to learn a bit more about BackboneJS. Even though backbone is very mature, i didn鈥檛 have the chance in the past to work a lot with it and i wanted to see what it can do. I also started looking at offline first applications and this is how i got into PouchDB/ CouchDB ecosystem....

What is a new project?

Recently I had a conversation regarding a project I鈥檓 working on and the potential of adding more members to the (one man) team in order to complete it faster. The project is on top of an existing code base and the point of it is enhancing the existing functionality. The conversation started with estimating the work that needs to be done (Epics in the Agile lingo) in man-hours. After everything was estimated I mentioned that the estimated time should be multiplied by 2 because the new members will have no knowledge of the code base and they will need time to catch-up....

Dress code and start-up culture

When I first started looking for a job after university, almost 6 years ago, I was really concerned about how should I get dressed for an interview. Several of my closest friends helped me out and advised me to wear a suit. After all you can鈥檛 err on the well dressed side of the spectrum. It sounded correct and made sense. The fact that I鈥檓 coming with a tie and a suit is a gesture of my respect towards you and your company....

Chrome Dev tools 101: The Timeline tab

Most of the web developers I know choose Chrome as the browser of their choice to test their apps, debug and ultimately browse the web. There is a very good reason for that, and the reason is called Dev tools. The dev tools in chrome, along with the many addons, provide the developer with a platform ready to develop, debug and experiment at any time. If you haven鈥檛 checked the dev tools yet, open your browser and press Alt+Cmd+i on Mac OS (or ctrl+shift+i if you are on windows or linux)....