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

In all seriousness, this comment really makes me want to try out Zig!




You want a language that releases a compiler on a specific platform then intentionally breaks it for everyone on something trivial just to troll and irritate them?

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?


Last I checked even Apple migrated to LF. Perhaps it's time for Windows to stop being the odd man out? Regardless:

  not work with every windows text editor
Last I checked both Visual Studio Code and Notepad++ can both make line endings configurable. That covers a plurality of use cases. Even the built-in Notepad supports using CR or LF only for going on eight years now.

Perhaps it's time for Windows to stop being the odd man out?

This is the same nonsense rationalizations that zig gave. Windows is the odd man out. If you want to release something on windows you match an extra byte on the ends of lines. It isn't that hard and even the simplest toy language does it. It's just part of line splitting, it isn't even something that happens at the language stage.

Last I checked both Visual Studio Code and Notepad++ can both make line endings configurable.

Last time I checked it was totally unnecessary because no other language releases for a platform and tries to punish their users. Options like that are to make files match while being worked on for different platforms, not so that a compiler doesn't try to punish and troll its users for using it.


  If you want to release something on windows you match an extra byte on the ends of lines
Did I miss some sort of formal directive from Microsoft or is this just outrage that someone dared do something not up to your standards?

  try to punish and troll its users for using it
Nobody's being punished. Configuring your dev environment is something people do for every language. Let's add some perspective here: we're talking about a single runtime option for your text editor of choice. BFD. More to the point, why isn't your editor or IDE properly supporting Zig files?

Did I miss some sort of formal directive from Microsoft or is this just outrage that someone dared do something not up to your standards?

It's just the way it works, it isn't my standards, it is literally any piece of software that detects line breaks.

Nobody's being punished. Configuring your dev environment is something people do for every language.

No one has to configure around this issue because it is trivially solved and dealt with by every piece of software on the planet. It takes longer to write an error message than it does it just split a line correctly.

Let's add some perspective here: we're talking about a single runtime option for your text editor of choice.

Let's add some perspective here: they intentionally broke their own software to upset 72% of their potential users.

More to the point, why isn't your editor or IDE properly supporting Zig files?

No one has to care about zig, it's a niche language that doesn't care about its users, it's irrelevant except for hacker news threads.

If some language started demanding you save all your text files with carriage returns or will will error out, what would you think?

You sound like a lawyer grasping at straws instead of someone with a reasonable perspective that wouldn't be hypocritical when flipped around.


  You sound like a lawyer grasping at straws instead of 
  someone with a reasonable perspective that wouldn't be
  hypocritical when flipped around.
What lawyer speak? You're throwing a temper tantrum over a situation entirely of your own making. That there's a Windows port of Zig and sufficient users to justify its continued existence pretty clearly shows your hyperbole isn't representative in the way you claim.

Were I in a situation where I needed to work with something not expecting LF line termination I'd either configure my dev environment appropriately or find tools that do what I want.

  No one has to care about zig, it's a niche language that doesn't
  care about its users, it's irrelevant except for hacker news threads.
So when it's your tool selection nobody has to care? But when someone else makes a decision you disagree with it's the end of the world? Gotcha. Don't check that checkbox. Stay mad, bro.

it's the end of the world?

You didn't confront anything I wrote and instead just made up something no one said. All I did say was that zig is intentionally hostile to their own users, which they are.

If you could actually deal with what I wrote I think you would have done it already.


From where I'm sitting it seems like it's time for you to take a break from this thread.

I guess we're at the "claim the other person is upset to avoid what they said" (and edit posts) part of the conversation.

No, we're at the you're making an emotional argument backed by hyperbole and I'm moving on stage. Look at your language: punished, trolled, "any piece of software", "every piece of software", "it takes longer to write an error message than it does it just split a line correctly", "lawyer grasping at straws".

You're personally aggrieved because someone dared release a compiler that runs on windows but doesn't accept non-standard line endings. I've already addressed what you've said but you've responded with a bunch of handwaving because you're merely making an emotional argument.

If you'd like me at address what you wrote again:

  it takes longer to write an error message than it does it just split a line correctly
It takes longer to write your tantrums than to configure your development environment correctly.

You're personally aggrieved

Nope

doesn't accept non-standard line endings

It is standard on windows.

I've already addressed what you've said

No you haven't. You haven't addressed anything I've said, like legitimate reasons for doing it or what you would think if other languages did the same thing on other OSs.

you're merely making an emotional argument.

Seems like projection. I wrote things that actually happened.

It takes longer to write your tantrums

I know it would be convenient to frame things this way but if you could confront what I'm saying you would have done it with all the chances you had.

Why won't you respond to what I'm saying? I think it's because there is no real defense and you know that.


> This is the same nonsense rationalizations that zig gave.

I'm guessing you didn't live through the early days of webdev when you had to jump through ridiculous hoops just to support IE. At least back then there was the excuse that IE had the lions share of the market and many corporate users.

The industry wide acceptance of supporting IE majorly held back what websites/apps were capable of being. Around 2012ish (right as I was leaving webdev) more and more major teams started to stop supporting earlier broken versions of IE (this was largely empowered by the rising popularity of Chrome). This had a major impact on improving the state of web applications, and also got MS to seriously improve their web browser. Moves like this one by the Zig team are the only way you're going to push Microsoft to improve the situation.

Now you may claim "but Windows is 70% of users!" but this issue doesn't impact anyone wanting to run Zig applications, only those writing them. If you're an inexperienced dev that's super curious about Zig, this type of error might be another good nudge that maybe Windows isn't the OS you want to be working on.


Now you may claim "but Windows is 70% of users!" but this issue doesn't impact anyone wanting to run Zig applications, only those writing them.

No one is confused about how a compiler works. Those people being intentionally trolled are called your users when you make a language.

If you're an inexperienced dev that's super curious about Zig, this type of error might be another good nudge that maybe Windows isn't the OS you want to be working on.m

Then why did they make a windows version? Any normal person just sees that they shouldn't invest time in a language intentionally annoying it's own users for trying it out.

You still haven't come up with any explanation, your whole tangent about internet explorer has no relevance. There isn't one part of your comment that makes sense. Why would you even care about other people's OS and text editors? What kind of fanaticism would lead to wanting to use a language because they intentionally annoy users of something you aren't even involved in?

The whole thing is basically a case of "this things doesn't stand on any merits, I've just decided that I don't like certain people and they did something to upset them even though they are really just shooting themselves in the foot".




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

Search: