3 ms·
I generally hold that it's simply a matter of whether the language is optimizing for beginners, intermediate level users, or experts. Terse code is useful for
by kbenson 12y ago
I generally hold that it's simply a matter of whether the language is optimizing for beginners, intermediate level users, or experts.
Terse code is useful for domain experts, it allows them to quickly assess what's happening without having to read a lot, and have more of the program logic in the field of view at a time. Unfortunately it's hard for beginners to understand because a lot is implied through idiomatic usage.
Verbose code is easier for beginners, but domain experts may find it cumbersome and a chore to both read and write.
Perl has found an interesting spot on this spectrum, as through TIMTOWTDI it has the capacity for verbose code, as well as terse, idiomatic code. I'm not sure if that means it's optimized for intermediate level users, or if it's just schizophrenic.