Version française -> Pourquoi j'adore Javascript
I know, I know. Naysayers will tell you that if you love Javascript, you are a person with a...
For further actions, you may consider blocking this person and/or reporting abuse
Besides its constantly evolving features, the thing I like most about JS is how easy I can build something and share it with the world. I guess I like JavaScript because I like the web. 🌐
Looking forward to your future articles. 🍻
I agree, the web is so fascinating.
Thank you :)
I've been a tried and true java dev most of my coding career and though loosely typed languages make me cringe a little, these are all features I love about javascript as well. Also, for tinkering around with an idea, spinning up a node server locally is 100x faster than java.
I too have been cringing on lossely typed language before. But now, I saw those language as a good choice for learning and trying algorithms.
I have just to focus on the algorithm and not on the data type nor the memory I forgot to deallocate (hello C and C++)
Try typescript
I understand typescript for big projects and wider teams to keep code self-described etc. I do think that there is an awful lot of extra typing writing TypeScript for small projects for minimal benefit. I could count on one hand the number of bugs I've had in my JS projects due to passing the wrong type to a function. I'm just not a fan of typing a bunch of stuff out twice when I don't need to.
I'm also not a very big fan of static typing, but the person is coming from Java so, Im expecting typescript would be easier transition for him
Yes. Its a matter of opinion and you might have a different one.
TypeScript saved me a lot of time when using React and Redux. Passing data around is not a child's play. Then again even in unit tests you are supposed to write tests for type checking. A lot of that is reduced because of you using TS.
In my opinion, I consider writing extra types is a tradeoff for maintainable and scalable code. Many a times we don't even have to refer to the documentation of a library. The types themselves give an idea about what you need to pass (I know JSDoc exists).
JSDoc is again messy code (it seems that way to me). TS is cleaner code.
TypeScript would have been a lot better again if it also included runtime type checking (hegelJS like).
Admit it. Typechecking saves time. It's a trade off
Yeah... because Javascript is easy, dynamic, multi-paradigm programming language.Its easy to get started, also very flexible. So make sense it's a lovely language, especially when it comes to web development. Typescript make it more easy with static-typing. Well, the remains is speed, security, etc. Now I'm looking to learn Go & V.
I am sorry if my attitude was too pushy. Never intended it to be that way। Peace 😊✌️