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