7
Jorghe
8y

Do you think that not declaring datatype in JavaScript is an advantage?

I'm most into C# which I find extremely difficult to get used to it.

Comments
  • 4
    Welcome to devrant

    I hate not declaring types in js because it can lead to unexpected results

    Also:
  • 0
    That's what are dynamically typedlanguage
  • 0
    For scripting is Ok. For pro apps is bad
  • 0
  • 0
    @rajilsaj bigger the software, bigger the probabilities of unwanted conversion errors. Scripts are smaller, then is easier to handle it.
  • 1
    Flow fixes that quite well if you don't want to go with typescript
  • 0
    @Zapp I dont even want to go through JavaScript
  • 1
    Dynamic typing is very powerful but pretty hard to comprehend. It allows writing beautiful functional code, however if you are sticking with oop - you better have static types
  • 0
    On another note, it's funny how every single language maker calls their language powerful and all of their features so powerful.

    It's like everything is powerful in the software development world
  • 0
    @vertti what's wrong with that? Different tools for different problems.
Add Comment