Do JavaScript the right way

Here are some great resources about JavaScript code style, best practices and tips and tricks. Worth to get familiar with them: http://jstherightway.org/ http://javascript.crockford.com/code.html http://modernweb.com/2013/12/23/45-useful-javascript-tips-tricks-and-best-practices/ http://www.thinkful.com/learn/javascript-best-practices-1/

Clean code: Error-proof and testable code

Continuing the previous post, here is another video. This one is lot more packed with concepts and best practices, so it is impossible to catch everything after first watch - one would have to consecutively come back to it and analyze particular clues. Slides are not very good in my opinion, however concepts and talk … Continue reading Clean code: Error-proof and testable code

Clean Code: Dont use if’s! Use polymorphism instead

Writing clean code is crucial, so the software developer constantly needs to improve his skills and code understanding. My way to do it, is to explore others' best practices. Here is one of them to consider: I am not fully convinced that all the if's shall be refactored and removed, however the example given is … Continue reading Clean Code: Dont use if’s! Use polymorphism instead