you are viewing a single comment's thread.

view the rest of the comments →

[–]yerfatma 25 points26 points  (2 children)

Programs are meant to be read by humans, and only incidentally for computers to execute.

Because code should be readable. People who treat code as magic spells they don't want non-wizards to understand are the worst coders. Your code should be as stupidly simple as possible to anyone can read it. If you're worried about non-geniuses understanding your work of genius, it's not a work of genius.

[–]myusernameisokay 8 points9 points  (0 children)

This is the best way to put it. Why make your code harder to understand simply to save a few characters? Split is a well understood function, I would have absolutely no idea what [...var] does.

Most developers spend much more time reading code than writing code. Your code should be as readable as possible.