3 ms·
Languages are less about readability and features, but always about what it allows the programmer to do, so that it prevents him for writing bad code. You can
by stcredzero 8y ago
Languages are less about readability and features, but always about what it allows the programmer to do, so that it prevents him for writing bad code.
You can write bad engineering student FORTRAN code in any language. I've seen it done in Smalltalk. In all fairness, most functional languages make this painful enough, that all but the dimmest don't bother.
I came with the idea that a programming language is a frame that surrounds the programmer, and only allows him to do things in a certain way that is tolerable and not abusive in term of design.
That's bankrupt. The best you can really do is to encourage and reward the programmer for doing it the right way. If you earnestly try to block every way of doing something bad, you just wind up with a system that's unusable.