Re:“I'm basically giving myself a permanent vacation from be...
by b0rsuk on Friday July 13, 2018 @12:06AM
(#17520454)
You 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.
Re:“I'm basically giving myself a permanent vacation from be...
by skywhopper on Friday July 13, 2018 @01:28AM
(#17520713)
I agree with your points about IDEs but alas no such language exists to keep you from simple errors.
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!