Re:The TypeScript compiler is now implemented internally wit...
by bragr on Wednesday November 02, 2022 @08:47PM
(#33445129)
Not everyone with vision or vision processing issues is blind. Being able to configure custom tab stops is an easy way to control what level of indentation is useful and clear.
[ Parent
| on HN ]
Re:The TypeScript compiler is now implemented internally wit...
by shadowgovt on Wednesday November 02, 2022 @09:14PM
(#33445392)
As with all other types of data: the right approach is for model and presentation to be separable concerns.
We're struggling with the wrong problem if we aren't asking why the editor can't treat blocks as entities that are displayed however we want.
Re:The TypeScript compiler is now implemented internally wit...
by LanternLight83 on Wednesday November 02, 2022 @11:08PM
(#33446498)
Re:The TypeScript compiler is now implemented internally wit...
by dotancohen on Thursday November 03, 2022 @02:29AM
(#33447754)
> why the editor can't treat blocks as entities
That might with with C, but won't work with e.g. Python.
Re:The TypeScript compiler is now implemented internally wit...
by int_19h on Thursday November 03, 2022 @07:01AM
(#33449320)
Python has syntactic blocks as well, and editors totally can (and do) muck around with their formatting. I don't see any reason why they couldn't handle customizable indentation.
Re:The TypeScript compiler is now implemented internally wit...
by Dylan16807 on Wednesday November 02, 2022 @09:09PM
(#33445318)
There are perfectly good tools for that which don't require text changes.
Re:The TypeScript compiler is now implemented internally wit...
by shepherdjerred on Wednesday November 02, 2022 @10:33PM
(#33446188)
The primary accessibility argument is that spaces waste precious space on braille displays.