Programs must be written for people to read, and only incidentally for machines to execute.
–Harold Abelson
More info
This post is created by a bot. If you want to contribute to this community, please take a look at the sidebar
You must log in or register to comment.
Source code is for people. Let the compiler worry about how the machine deals with it.
I agree with this to a certain extent, but it depends on the intention of the programmer. Sometimes if performance is what’s needed, it can’t be all that readable.
Try Pascal. It’s verbose as fuck, but it doesn’t take long to understand what’s going on from reading the code. Ruby seems to be very readable as well.
More importantly, though, is leaving useful comments everywhere.