4 ms·
I lamemt the lack of support for elastic tabs. In a better world the pleasure of these justified variables could be found everywhere.
by Normal_gaussian 6y ago
I lamemt the lack of support for elastic tabs. In a better world the pleasure of these justified variables could be found everywhere.
- jez 6y agoMaybe, but there’s no amount of elastic tabs that are going to make the suffix in nextAncestor previousAncestor line up the same way as nextAncestor prevAncestor so I admire the author’s time spent collecting these word groupings.
- Jaxan 6y agoWhy not though? It reminds me of this project: https://nas.sr/قلب/ https://nas.sr/قلب/. It’s an Arabic programming language and apparently their script allows for elasticity, even within words. Perhaps the Latin alphabet just sucks for aligning?
- jks 6y agoIt could work by adding a new alignment tab character, like & in TeX. TeX tables look like name & value & comment \\ long name here & 1 & one\\ x & 2 & two \\ and the columns line up at the & characters by adding suitable whitespace. Imagine some control character that you could insert in source code: next&Ancestor &= current->next; previous&Ancestor &= null; and the corresponding parts would line up in consecutive blocks, like elastic tab stops but even inside words by stretching the existing whitespace around the words.