News for hackers. Stuff that matters.
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.
Re:A History of Erlang (2007) by dnautics on Monday April 06, 2020 @08:54PM (#22799401)
what is this, 2009? If your language cares about it, Your code editor should automatically convert CRs and tabs as you type.
Re:A History of Erlang (2007) by BubRoss on Monday April 06, 2020 @09:42PM (#22799642)
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.
Re:A History of Erlang (2007) by dnautics on Tuesday April 07, 2020 @02:31AM (#22800826)
I think that's a wise choice. The zig ecosystem doesn't need people that get hung up on that.
Re:A History of Erlang (2007) by BubRoss on Tuesday April 07, 2020 @08:47AM (#22802654)
Hung up on what? Working? Please explain why this problem that would take 30 minutes to correct makes sense to keep around?