4 ms·
When you're optimizing for a metric like lines of code written, then abbreviations make sense. If you're optimizing for readability you could do something like
by ativzzz 5y ago
When you're optimizing for a metric like lines of code written, then abbreviations make sense. If you're optimizing for readability you could do something like (I'm not a C programmer so IDK if this is syntactically correct C):
`
memory_write(
processor.register[0],
memory_read(
memory_read(processor.register[1])
)
)
`
To me, multiline statements are much more readable than single line nested statements regardless of abbreviations used.
- johnisgood 5y agoI do this sometimes when the line gets too long due to long names. I do not like it.