Post Ax3wzqaGQN2a7kKVfs by ivesen@miniwa.moe
 (DIR) More posts by ivesen@miniwa.moe
 (DIR) Post #Ax2NjkLCB2LuZfuPZo by lanodan@queer.hacktivis.me
       2025-08-10T20:11:56.216623Z
       
       0 likes, 0 repeats
       
       @Gaelan @navi Meanwhile I feel like we ought to use another character (say record-separator) when alignment is warranted.Specially because there's a difference between indentation and alignment, at least to me indentation requires a constant length so you know which level it's at, while for alignment it doesn't matters.And automated alignment is the kind of thing that I've often seen create very weird results where you effectively can loose readability. Specially when it's in the middle of the line, like tables where there's a wide gap between two columns, making you want to grab a ruler or similar object (or having alternating shading between the rows).So you'd probably want to not actually align in some cases.
       
 (DIR) Post #Ax3wLxDkKUcD7lm6jo by a1ba@suya.place
       2025-08-11T14:14:36.820239Z
       
       0 likes, 0 repeats
       
       @navi 6: use tabs everywhere specifically to catch those who can't configure their text editorproperly configured text editors make contributing to other projects so much easier to avoid mixed style indentation
       
 (DIR) Post #Ax3wWo9QOI2kBFvewC by a1ba@suya.place
       2025-08-11T14:16:38.259817Z
       
       0 likes, 0 repeats
       
       @navi same goes for unusual code formatting rules... unusual enough to not be supported by clang-format lol
       
 (DIR) Post #Ax3wdljplAGAizHK1g by ivesen@miniwa.moe
       2025-08-11T14:17:54.263046Z
       
       0 likes, 0 repeats
       
       @navi I never understood visual alignment, but mostly be solved with k&r style function declarations? (sample below)int max(a, b)    int a, b;{    return a > b ? a : b;}
       
 (DIR) Post #Ax3wzqaGQN2a7kKVfs by ivesen@miniwa.moe
       2025-08-11T14:21:53.825872Z
       
       0 likes, 0 repeats
       
       @navi I was just wondering if using k&r declarations instead of the more modern ™ declarations would make spaces for alignment mostly unnecessary in the first placepersonally I don't care either way, but I do agree that I see more solid arguments for tabs over spaces.
       
 (DIR) Post #Ax3x7hMcaWUjqSgzWS by ivesen@miniwa.moe
       2025-08-11T14:23:18.001620Z
       
       0 likes, 0 repeats
       
       @navi (and sorry for the extra ping)yeah I know k&r declarations are going away, it's a shame since I used those for functions with long signatures, but I have no horse in that race since I hardly write any code any more
       
 (DIR) Post #Ax6Z33F40HPApEHw4e by m0xEE@nosh0b10.m0xee.net
       2025-08-12T20:37:19Z
       
       1 likes, 0 repeats
       
       @navi@social.vlhl.dev @ska@treehouse.systemsbullying a blind maintainer into switching their python project from tabs to spacesPython has PEP 8 style guide which dictates usage of spaces, not tabs.This is coming from a person who also prefers tabs, but it is what it is. You can still use tabs of course, but you would be breaking their rules 🤷
       
 (DIR) Post #Ax6axXSWwZ2eiH5Pwe by m0xEE@nosh0b10.m0xee.net
       2025-08-12T20:58:44Z
       
       0 likes, 0 repeats
       
       @navi@social.vlhl.dev @ska@treehouse.systemsHold your horses. I just pointed out the existence of PEP 8, I'm not apologetic of anything.
       
 (DIR) Post #Ax6bwouCh1TeUEFf0q by m0xEE@nosh0b10.m0xee.net
       2025-08-12T21:09:56Z
       
       0 likes, 0 repeats
       
       @navi@social.vlhl.dev @ska@treehouse.systemsOh, I see. Wasn't my intention at all — it was more like "you can of course still use tabs with Python, but it would often grant you weird looks from most Pythonistas" 😅Tabs or spaces — no one should be bullied into doing something they don't like, on or offline, whether they are on my side or not.Kinda sad to hear that Rust went the same "space" route though.