Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like a language that aggressively discourages writing code in Notepad on Windows.




Every text editor on windows adds a carriage return by default.

You haven't given any actual reasons this makes sense, if you don't like windows why would you be using it in the first place? Why would you care what text editor people use?

Why would it be ok to release something on a platform just to annoy your own users?


>Every text editor on windows adds a carriage return by default.

Either you should know your tool well enough to turn it off, or tools shouldn't make obscure changes to the output that the user did not specify, either way Zig is absolutely correct in not allowing for either case, I wasn't aware of this but it makes me even more convinced of their principles.

The expurgation of "losers" less so.


Either you should know your tool well enough to turn it off,

Everyone can do that and by saying this you have already missed the point.

You think literally all windows text is "obscure changes to the output"? Have you ever used windows? All text you have ever saved has a carriage return in it.

Zig is absolutely correct in not allowing for either case

Then why does every other language, text editor and text tool in existence deal with this single extra character?

I wasn't aware of this but it makes me even more convinced of their principles.

Which are what exactly? Making a windows version that doesn't work to intentionally annoy their users?

There is no rationalization you can come up with that isn't hypocritical here unless you admit that you just like malice towards windows users, because that's all it is.

The expurgation of "losers" less so.

Who are losers here? Zig users who tried it on windows or people who know what a carriage return is?


>Who are losers here?

Evidently you did not read the original release or the top comment, but this has nothing to do with carriage return.

>Then why does every other language, text editor and text tool in existence deal with this single extra character?

On Windows, Emacs by default will save your files with linefeed and no carriage return, only when opening the file will it infer crlf, as it should.

But you're right, where possible I try to avoid Windows.


Evidently you did not read the original release or the top comment, but this has nothing to do with carriage return.

You replied 5 comments deep in a thread about zig intentionally annoying users by erroring out on something simple that every other program or library on windows deals with automatically.

But you're right, where possible I try to avoid Windows.

You're backpedaling now. Originally you were trying to rationalize someone intentionally releasing a broken program to troll people.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: