r/programming • u/jjperezaguinaga • Oct 03 '16
How it feels to learn Javascript in 2016 [x-post from /r/javascript]
https://medium.com/@jjperezaguinaga/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.758uh588b
3.5k
Upvotes
r/programming • u/jjperezaguinaga • Oct 03 '16
34
u/killerstorm Oct 03 '16
No, I'm talking about tools. Language features ended here: "learn language basics".
The article mentions many different things, including tools (e.g. webpack is analogous to a linker in C++ world).
As I mentioned, I can go on... So let's consider various ways to work with strings in C++:
you can use C standard library functions
STL
if you use MSVC, you might use CString or AtlString
Borland's counterpart is AnsiString
many projects define their own string class
Suppose you want to do an UI. Plenty of options:
MFC
C++ Builder's Delphi-style UI
Qt
wxWidgets
WinAPI
As somebody who used both C++ and JS (also Common Lisp, Haskell and PHP) I'd say JavaScript people have it an easy way...
Same shit with C++: if you use an older compiler you can't use modern features. Many compilers have bugs which make them incompatible with latest & greatest libraries, such as boost.
I've seen both projects which require bleeding edge toolchain, and ones which depend on an old compiler and cannot use modern libraries. Modern libraries can dramatically change coding style, it's like a completely different language. (Seriously, it even looks differently.)