• by NotSwift on 7/21/2021, 11:41:32 AM

    A good IDE can help tremendously in developing software. It can write a lot of the boiler-plate code that you consider bloat.

    With a statically typed language the IDE and the compiler have a lot of information about your program. They can help finding and correcting errors. Good IDE's warn instantly when you are using an unknown function/method and they can even suggest how you could correct it. Also because the IDE knows all the types of variables it is able to show the source code for the corresponding classes and/or the official documentation for these classes.

    With loosely typed languages, the IDE and the compiler do not have much information about your objects, so they cannot really help very much.

    With loosely typed languages, many problems in the code will become apparent only when the code is running in production. I am probably old-fashioned, but there still some customers that really dislike problems in production systems.

  • by quickthrower2 on 7/21/2021, 9:06:14 AM

    I don’t think it’s a loose vs strong type thing. Changing languages and being productive is hard in either direction. I’d say I had the same experience from c# to JS.

    If you are working in a team types are invaluable unless you have a very disciplined team.

    The times I’ve worked on team JS or CoffeeScript code I’ve had to read hundreds of lines of code to understand wtf to pass into an argument. Aaah you want it to be a promise if the first arg is true but a number if it’s false kinda shit. Return type? Sometimes this sometimes that, might be a hydrated object from the wire as-is.