Re:The TypeScript compiler is now implemented internally wit...
by 3836293648 on Thursday November 03, 2022 @05:25AM
(#33448754)
No, it's incredibly stupid and is missing the point. You use tabs to not be consistent. So that the crazy js person can have a 2-wide indent and the slightly visually impaired person can have an 8-wide indent without reformatting the entire codebase
[ Parent
| on HN ]
Re:The TypeScript compiler is now implemented internally wit...
by gchamonlive on Thursday November 03, 2022 @07:43AM
(#33449601)
Are you visually impaired of have you received or read criticisms of this nature from visually impaired persons? Genuine curiosity, because if this is a matter of accessibility I would vouch for tabs.
Thing is that with spaces you can also predict consistently the line length and not have code being clipped on someone's screen that set tabs for 8 spaces for some reason.
In any case, I like spaces but I am impartial to either one. You seem like you have very strong opinions about the matter so I won't push the subject further.
Re:The TypeScript compiler is now implemented internally wit...
by dotancohen on Thursday November 03, 2022 @09:36AM
(#33450733)
> Thing is that with spaces you can also predict consistently the line length and not
> have code being clipped on someone's screen that set tabs for 8 spaces for some reason.
Spaces force you to worry how that other dev will see the code. Tabs are semantic - you set the editor to display how _you_ like to see it and that other dev sets the editor to display how he likes to see it.
Re:The TypeScript compiler is now implemented internally wit...
by 3836293648 on Friday November 11, 2022 @08:07PM
(#33568916)
I've recieved.
But I'm also the crazy person who uses an 8 wide indent anyway