|
|
|
|
|
by savanaly
4010 days ago
|
|
Major advantage: fewer characters to type and parse (parse with your eyes, that is). Major disadvantage: in the short term it might be difficult to parse. Possible additional major disadvantage: programmers may never adapt and find it difficult to parse for ever more. |
|
For visual parsing, consistency matters. In an object literal dec I expect:
That's easy to parse visually. Not good is when suddenly we get: in the space that our brain expects the former.