Re:A History of Erlang (2007)
by BubRoss on Monday April 06, 2020 @08:20PM
(#22799235)
If you think that's bad, wait until you realize that even though people will fill threads talking about zig being a successor to C, it -purposefully- errors out on carriage returns and tabs! It is specifically built in that if you save a text file out of any windows editor without changing special settings, zig will error out. If you put in tabs, it will error out. Now trailing white space doesn't seem so bad.
[ Parent
| on HN ]
what is this, 2009? If your language cares about it, Your code editor should automatically convert CRs and tabs as you type.
Every language in existence is able to deal with default windows files. Zig -intentionally- breaks on carriage returns and tabs. It went out of its way to not work.
I think that's a wise choice. The zig ecosystem doesn't need people that get hung up on that.