4 ms·
As someone who isn't perfect, it's nice to be able to quickly iterate on ideas.
by Implicated 5y ago
As someone who isn't perfect, it's nice to be able to quickly iterate on ideas.
- rbanffy 5y agoYou still can. It’ll just stop you before you get to a running web application that may be doing something wrong with the data that goes through it.
- smt88 5y agoIterating on ideas is much quicker when the compiler tells you when you made a mistake or failed to change your code after changing your mind.
- thevagrant 5y agoHonestly, I don't see much difference. You learn either way. People may have preferences, that's fine. A compiler isn't a magical tool that creates bug free code.
- root_axis 5y agoThe difference is massive. Computers are many orders of magnitude better at this kind of thing than humans, especially in a large application where changing the shape of a single data structure can have cascading effects throughout the entire code base; you simply will not catch things a typechecker will.
- thevagrant 5y agoAn IDE does provide some help. Certainly, I'm not arguing against compilers. I was merely commenting on the "iterating on ideas is much quicker".
- smt88 5y agoA compiler with a good type system catches a mistake instantly instead of at runtime. The difference in time it saves the dev can be anywhere from a few seconds to minutes per mistake. Multiplied by hundreds of mistakes, it makes a huge difference. And that's not even getting into the advantages of better autocomplete for external libraries. As someone who has written many thousands of lines of PHP, JS, TS, C#, Java, and Python, I now find it baffling that someone would start a project in 2021 without a great type system as a safety net.
- djbusby 5y agoHello me! Nice to meet me!