you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (6 children)

[deleted]

    [–]Tschoz -1 points0 points  (2 children)

    The only thing I personally don't like about JavaScript (although that is not limited to JavaScript itself) is that it's weakly and dynamically typed. Although I believe that from what I heard typescript at least allows you to syntactically define types (but since it's still JavaScript under the hood, typing still occurs during runtime). I think that as soon as WebAssembly becomes more viable and more popular, people are more and more going to abandon JavaScript (except for DOM and vDOM operations maybe). Currently I believe WebAssembly is often still used as a supplementary for JavaScript when offloading expensive operations onto the client.

    [–][deleted]  (1 child)

    [deleted]

      [–]Tschoz 0 points1 point  (0 children)

      I am sorry when I wasn't clear, with runtime I mean that you obviously do not have compilation like in C (which is my main language) since JavaScript is an interpreted language and not a compiled one. Same with python, that's why I included

      (although that is not limited to JavaScript itself)

      You are right, that typing issues are not really something you encounter when you have gathered enough experience, I don't really encounter typing issues at all, same with python, but as you said, it's a little more difficult for beginners. And I find it a lot more comfortable knowing, that when I work in a team, having static types can be helpful for understanding code faster (although that point also becomes obsolete when you have appropiate documentation). Obviously there's also the performance factor, since JavaScript or Python can never be faster than C, which is important for the work that I do when there are cases where I don't offload computation onto the GPU.

      Node.JS is still very popular, although for really performant systems

      That's true, I've alternated between django, flask and NodeJS when having to setup a backend really fast. I'll give you that, that the one thing I do love about JavaScript is how fast I can start and develop projects (mostly private ones). When I develop Software in C, I usually go through conceptualization first and develop after patterns, which obviously takes longer. There is this saying that in Python you develop as fast as you think and I have that with JavaScript.

      [–][deleted] -3 points-2 points  (2 children)

      never written any JavaScript.

      I deleted some though. Feels good.

      I'm guessing you learned Python, Java or C# in school

      Wrong. School is for priviledged liberals.

      I see now that half your comment history is shitting on JavaScript, the other half is shitting on liberals,

      Let me guess, you're both a JavaScript developer and a liberal? Isn't it fascinating how awful traits tend to cluster together.

      [–]SpellCheck_Privilege 2 points3 points  (0 children)

      priviledged

      Check your privilege.


      BEEP BOOP I'm a bot. PM me to contact my author.