3 ms·
There's a reason why Pearl is considered a write-only language. Programming languages typically opt for either verbal legibility or having their symbols repres
by omegaworks 7y ago
There's a reason why Pearl is considered a write-only language.
Programming languages typically opt for either verbal legibility or having their symbols represent some understood structural / visual cue (like an arrow, for example). There's nothing about the character "#" that indicates the directionality of the operation visually, so I assumed there was some verbal mapping that I wasn't familiar with. ("Hash", "pound", "number", etc).
Typically programming languages are used to communicate procedures in ways that would allow human people with a similar set of cultural references to understand what is going on by reading it. Having verbal legibility allows people who know the language to explain very quickly to new people what is meant by a given symbol. Otherwise why #? It could be any symbol.
Communicating meaning for humans might not be the intent for javascript moving forward, given where WASM and transpilation is headed, so :shrug: