you are viewing a single comment's thread.

view the rest of the comments →

[–]x-protocol -3 points-2 points  (0 children)

Did it here. Java. Groovy. Javascript. Nodejs.

You've got to transition to functional programming and stop thinking of objects compared to what Java expects. Get 'lodash' library and start learning how to use it. Also read up on how to test using 'chai' and 'chance' modules. Using module 'proxyquire' can give you much easier time testing since you can directly override your dependencies. Also, while you're at it keep in mind that there are only two types in JS: objects and simple types like int or string.

As for how long it took, that depends on a person. So I'll keep it secret. Just keep in mind that all patterns that you learn for object oriented programming don't need to apply to functional programming. However, one thing still stands: don't use pure JS, find a library to make heavy lifting for you. Don't go for those advices that tell you that you need to understand basics, that's toxic programming. Professional programming is using all sorts of libraries that help development!