News for hackers. Stuff that matters.
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.