3 ms·
> "The most important "program" that reads your source code is probably in your brain." Not if you have a good Integrated Development Environment (or IDE for s
by sbjs 8y ago
> "The most important "program" that reads your source code is probably in your brain."
Not if you have a good Integrated Development Environment (or IDE for short)! That's an even better "program" than your brain, because it shows syntax errors and other warnings right next to your code. It will literally put little red squiggly lines right under `if (x = 1)` and show the file as red in your file explorer side-bar, and when you hover over this line it will give you a tool tip saying "this assigns a new value, it's probably not what you meant, I can either turn it into x == 1 or ((x = 1)), which one do you want?" That is the power of IDEs and they are amazing. We should consider them an integral part of writing code and not fight them or be afraid of them!
- b0rsuk 8y agoYou can't assume that every single person will have a good IDE. And you will be reading and maintaining code written by people who don't. In that case I prefer to deal with a language which guarantees no trivial errors.
- skywhopper 8y agoI agree with your points about IDEs but alas no such language exists to keep you from simple errors.