4 ms·
I would add it at the beginning of the list instead of the end, if the list order wasn't important. I wouldn't put premptively the closing parens on a line alon
by IronBacon 7y ago
I would add it at the beginning of the list instead of the end, if the list order wasn't important. I wouldn't put premptively the closing parens on a line alone tho.
- geokon 7y agoThat would have the same effect of diffing two lines :)
- IronBacon 7y agoMmh, yeah. Sometimes I lack reading comprehension. So, I would think it's not a thing that can be solved with style guidelines, maybe a different diffing paradigm that handles elements addition or deletion from a list?
- malloryerik 7y agoJust out of curiosity, why not put the closing parens on their own line in the case of some rare instance when this improves functionality?
- IronBacon 7y agoProbably because I learned to never put them on their own and now, when I see them, I found them somewhat awkward.