Re:The language I wish Go was
by stcredzero on Thursday October 21, 2010 @07:57PM
(#1817985)
Banking on humans not making mistakes is not robust.
This should be expressed as a bumper sticker. How about: Human Error: Bet on it!
C#, for example, doesn't let you modify objects passed in as parameters, unless you highlight that behavior on the method signature and the call itself with the appropriate keywords. There are many other examples in many other languages. "Do what you want, use convention to keep safe" is a recipe for trouble that has caused innumerable very serious defects in software (buffer overflows, security vulnerabilities, etc.) "Do what you want, and you have all these tools to keep track of it" is a much better choice, even if in the end the code does the same exact thing. Banking on humans not making mistakes is not robust.