News for hackers. Stuff that matters.
Re:Python with Braces by hsbauauvhabzb on Sunday July 07, 2024 @09:47PM (#40901989)
First we gotta solve the tabs/spaces dilemma, maybe then we can start to tackle the rest.

Edit: I do agree and find your AST suggestion profound though!

Re:Python with Braces by moonlion_eth on Monday July 08, 2024 @12:32AM (#40902626)
There are tabs people and there are infidels
Re:Python with Braces by pantulis on Monday July 08, 2024 @09:53AM (#40905461)
I was ready to throw some vitriol into your heretical comment and then I remembered I am also a tab person. Nothing to see here, sorry!
Re:Python with Braces by hsbauauvhabzb on Tuesday July 09, 2024 @05:49PM (#40921600)
I mean my original comment was highlighting that it’s unsolved and it instantly started infighting so I think my point has been proven
Re:Python with Braces by layer8 on Monday July 08, 2024 @02:33PM (#40908015)
People should recognize that tabs vs. spaces is more a question of editing (e.g.: What happens when you press Backspace behind an indentation? Does the caret move at uniform speed on key repeat or does it suddenly jump in places?) than of stored representation. You could even have an editor/viewer that lets you choose the display-width of spaces at the start of lines.
Re:Python with Braces by hsbauauvhabzb on Tuesday July 09, 2024 @05:48PM (#40921588)
Do tab users not realise they could configure their editor to auto-indent and delete multiple characters so they could move to the most superior spaces format?
Re:Python with Braces by layer8 on Wednesday July 10, 2024 @07:10AM (#40925665)
I don’t know of an editor who can fully emulate Tab behavior using a spaces representation (and vice versa), but it would certainly be possible.