by cdnsteve · 11y ago · 0 comments
I ended up opting for Flask and Python 3x instead, couldn't be happier. I had my API up and running within a day with no prior knowledge of Flask and some Python on and off. I've been able to discuss and teach other team members on it who were also able to pick it up easily.
I have a built a small API using express and passport and so far these node changes have not impacted my code.
Another option for fast API development is Java 8 with SpringBoot and Jetty. People hate on Java and Spring, but the latest versions of both are very powerful and easy to get going. If you end up needing more it is there.
And with tools like nvm, it's incredibly easy to swap out different versions and go for a test drive.
Plus you don't have to always upgrade to latest and greatest. If your app works fine in 4.2 and there's no crazy security issues you need to upgrade for, don't. 4.2 is LTS so it's going to get supported for a long time.
We use both ES5 and ES6 (via transpilation) where I work. I had to write a lot of the tooling to support ES6 because a lot of front-end engineers were asking for ES6. To this day, I have yet to hear one engineer justify their "need" for ES6 with one of the features that make something easy that is hard or cumbersome with ES5. Pretty much every feature engineers were wanting to use were simple sugary syntax features like the spread operator that is trivially dealt with with a library like `xtend` (the irony is seeing these same engineers continue to use _.each on arrays instead of Array.prototype.forEach)
There is a corollary to Wadler's Law in here somewhere: https://wiki.haskell.org/Wadler's_Law
In any debate on the merits of migrating to ES6, the
total number of times an ES6 feature is cited as
justification to migrate to ES6 is proportional to two
raised to the power of its position.
0. Semantic features
1. Syntax features
2. Lexical syntax features
3. Lexical syntax of comments featuresYap good choice. Python to me is more readable (so I can understand my own code and others' better) and I find the echo system to be friendlier and more mature.