3 ms·
> "it’s a pretty long read... clearly the author did not learn brevity in his coding" Brevity shouldn't be a virtue of coding. The best code is self-documentin
by MichaelApproved 7y ago
> "it’s a pretty long read... clearly the author did not learn brevity in his coding"
Brevity shouldn't be a virtue of coding. The best code is self-documenting code and self-documenting code is rarely brief.
To quote Wordpress PHP Coding Standards: In general, readability is more important than cleverness or brevity.
https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#clever-code https://make.wordpress.org/core/handbook/best-practices/codi...
- pmarreck 7y agoIf you want code brevity, at all, PHP is not your language (nor is Go, nor is Java)