Coding with J.S.
Latest stories (2)

TThe only time I use var

26.07.20196 Min Read — In Lifehacks

Var is obsoleteFirst thing first. Of the three ways to declare a variable in JavaScript, var has no place in your codebase, and most of the time that you are tempted to use let, there's a better way…

BBetter branching with Lodash _.cond

28.06.20198 Min Read — In Code Utilities

Those nasty branchesHave you already coded 2000 lines of if/then/else with crazy unreadable conditions? Have you updated/debugged/refactored this code to always see a test fail? (you do have unit…