News for hackers. Stuff that matters.
Re:Abuse is indefensible by nabla9 on Wednesday November 04, 2015 @08:46AM (#10506369)
I thought that finally I can see example of Linus being abusive. This was not it.

Linus was attacking the work and ideas and cursing them. He was not attacking the person who wrote the code. Cursing is not abusive by itself. Cursing is emotional emphasis.

I would not want to work in a environment where strong emotional language used to criticize your work is considered abusive. If conflict over ideas and work does not make your blood flow, you don't care.

Re:Abuse is indefensible by delinka on Wednesday November 04, 2015 @08:58AM (#10506456)
"He was not attacking the person who wrote the code."

Linus: "...anybody who thinks that the above is [acceptable] is just incompetent and out to lunch."

That's a direct attack on the coder (and anyone else who thought the code was acceptable.) The remainder of the rant is written in such as way as to castigate the coder indirectly by insulting the work. If that wasn't the intent, such emotional and abusive language is completely unnecessary to get the point across.

I would not want to work in an environment where strong emotional language used to criticize employees "work" is considered acceptable.

Re:Abuse is indefensible by david-given on Wednesday November 04, 2015 @08:58AM (#10506462)
I would not want to work in an environment where strong emotional language used to criticize your work is not considered abusive. It's childish and counterproductive. I'm not your enemy, I'm your ally --- making me hate you isn't going to make me want to work with you. If I'm wrong, say so, but do it politely.

I work with someone who has an amazing ability to tell people they're wrong and make them feel good about themselves. You come out of gruelling code reviews feeling hyped and enthusiastic about refactoring your code. It's a skill I'm not very good at and one I want to learn. That's professionalism in action.

Re:Abuse is indefensible by anonbanker on Wednesday November 04, 2015 @10:33AM (#10507227)
And we can see your net contributions to the kernel source tree as an example of the environment you choose to work in.

but thank you for telling us your opinion anyway.

Re:Abuse is indefensible by dang on Wednesday November 04, 2015 @08:09PM (#10510934)
Please don't post uncivil comments to HN.
Re:Abuse is indefensible by anonbanker on Wednesday November 04, 2015 @08:20PM (#10510966)
I'm normally pretty good with your moderation. This one's a little vague. I worry that if I apply this uniformly, it'll effectively ban snark from my postings.

I'll do my best to honor your request, though.

Re:Abuse is indefensible by dang on Wednesday November 04, 2015 @09:03PM (#10511146)
Thanks for your openness here. You're welcome to email [email protected] if you want to discuss it further. Short answer is that snark in general doesn't break the HN guidelines (though it is deprecated!) but when directed personally it probably does.
Re:Abuse is indefensible by anonbanker on Thursday November 05, 2015 @12:52AM (#10511850)
> deprecated!

totally using that in the future.

Re:Abuse is indefensible by dillera on Wednesday November 04, 2015 @10:46AM (#10507332)
this
Re:Abuse is indefensible by tptacek on Wednesday November 04, 2015 @09:34AM (#10506769)
I think you might be confusing two different things.

Is this the worst Linus rant ever? No. I think its virality is a bit inexplicable too. For a Linus rant, it is unusually focused on the code and not the upbringing of the authors of the code. It's weird that this is the one everyone's glomming onto; Gizmodo even ran a story headlined "you don't need to be a programmer to understand what this rant is about", but as you can see from this thread, even programmers don't understand what this rant is actually about.

But "not the worst Linus rant ever" is not the same thing as "not abusive". This clearly is abusive language, and would not be tolerated in most professional teams, even if the rant was about something more substantial than the relatively insubstantial thing it's about.

Re:Abuse is indefensible by nabla9 on Wednesday November 04, 2015 @09:49AM (#10506910)
See my other comment: https://news.ycombinator.com/item?id=10506823 I suspect that this is generational/cultural issue. Abusive is codified and differentiation between "abusive language" and actual abuse is lost from people.

>This clearly is abusive language, and would not be tolerated in most professional teams,

Assuming that some people can differentiate between "abusive language" and actual abuse, is it possible to have different work cultures? Some are more masculine and competitive, some are more feminine and people select the work environment they like.

Re:Abuse is indefensible by tptacek on Wednesday November 04, 2015 @09:54AM (#10506946)
An argument over the semantics of the word "abuse" will be unproductive. It's just abusive in a technical sense.

I think on most well-managed teams in the US software industry, if you were a staff programmer, you could get away with a rant like this just once; you'd be warned, and if you did it again, you'd be dismissed.

Obviously, if you were the manager, you could rant like this as much as you wanted. But then that's the point, right? Even on a team managed by a raving asshole, if you were lower-status and tried to get away with a rant like this, you'd get in trouble.

I'm pretty sensitive to it because candidly it's a struggle for me not to be ranty like this particular Linus rant (thankfully, I am nowhere nearly as bad as the worst Linus rants) and I've had to work hard to suppress it.

Re:Abuse is indefensible by nabla9 on Wednesday November 04, 2015 @10:15AM (#10507097)
>Obviously, if you were the manager, you could rant like this as much as you wanted.

I think you would be surprised what happens in boardrooms and how bad heated discussions between CTO or CEO can look for outsiders.

I understand that if you are managing code monkeys whose lifehood is in your hands, you must behave differently because there is huge power imbalance. But workplace where everyone is competitive individual (top level corporate, professional sports teams, hacker culture) can work well with people who test each other constantly.

Re:Abuse is indefensible by tptacek on Wednesday November 04, 2015 @10:16AM (#10507108)
I'm a startup founder (wincing), since ~1999. I've seen a board member ejected for talking like this.

But if you're talking about the board of, like, AB InBev, I dunno!

There are people who get away with it, and there are cultures that are fine with it, but my guess is that about 80% of the time, your ability to rant like this is a function of the social status hierarchy. In a Lord Of The Flies sense.

I'd be uncomfortable working on a team that allowed it, because my thought would be: we're not really allowed to talk to each other this way, and the day I piss someone higher-status off will be the day one of my rants is used as an excuse to manage me out of the team.

Re:Abuse is indefensible by enneff on Wednesday November 04, 2015 @09:10AM (#10506571)
> "Get rid of it. And I don't ever want to see that shit again."

Would you really want to work with someone who speaks to you this way? It's like a caricature of a typical "evil boss". I'm amazed that Linus can take himself seriously writing like this. It's just so unnecessary and overly dramatic, like a child throwing a tantrum.

Re:Abuse is indefensible by MacsHeadroom on Wednesday November 04, 2015 @09:13AM (#10506587)
> He was not attacking the person who wrote the code.

"No sane PERSON"

"YOU damn well didn't do the right thing to begin with"

"[YOU are] just incompetent and out to lunch"

"[YOU] are so far out to lunch that it's not even funny"

The lines above would suggest otherwise. (Capital emphasis mine.)

Re:Abuse is indefensible by Cyph0n on Wednesday November 04, 2015 @08:47AM (#10506375)
But do you not feel offended when you are the one who came up with the idea?
Re:Abuse is indefensible by x1024 on Wednesday November 04, 2015 @08:49AM (#10506398)
They... should be offended? Because it was a bad idea that ruins the Linux Kernel. Kernel development isn't for everyone.
Re:Abuse is indefensible by tptacek on Wednesday November 04, 2015 @08:54AM (#10506426)
Can you (the person who wrote that this code would "ruin" the Linux kernel) explain in as much detail as you can how it would have ruined the Linux kernel?

I'm curious about how much people take what Linus says at face value.

Re:Abuse is indefensible by x1024 on Wednesday November 04, 2015 @09:00AM (#10506479)
Code being safe or unsafe is a pretty objective metric of quality, methinks.
Re:Abuse is indefensible by tptacek on Wednesday November 04, 2015 @09:02AM (#10506500)
I agree. Can you explain how this particular code is "safe" or "unsafe"? Again: I'm curious as to how much of what Linus says is taken at face value on HN.

I'm even more interested now, because the fulcrum of Linus's argument isn't safety.

Re:Abuse is indefensible by x1024 on Wednesday November 04, 2015 @09:10AM (#10506568)
You are committing a logical fallacy. I'm not "the voice of HN", nor am I a representative sample of "what HN thinks".

This is just my opinion.

Using a builtin operation ("addition and comparison of integers") is always safer than using a function that may or may not work the same everywhere. I.e. a nonstandard function.

Also, the proposed code has more levels of indirection, therefore places a higher cognitive load on the reader. These things tend to result in bugs down the road.

And it is also true that "an overflow could still happen", which is mentioned in Linus' critique.

All of these are objective ways to measure how "safe" the code is.

Re:Abuse is indefensible by tptacek on Wednesday November 04, 2015 @09:19AM (#10506644)
No, that's not what Linus is saying. It's close to the opposite of what he's saying (overflow_usub wraps a builtin). You obviously can't simply use the builtin addition and subtraction of unsigned integers in safe code, because in modern C, integers wrap.

Returning to the thread: why are you so comfortable extrapolating from Linus's rant to "this code would ruin the Linux kernel"? You don't grok the code he's talking about.

Is it because "if Linus is arguing against this code with this much ferocity, the code must be really bad?" Because if that's it, you're starting to see the issue some people have with the tone he uses.

Re:Abuse is indefensible by x1024 on Wednesday November 04, 2015 @10:02AM (#10507008)
In the discussion Linus is providing his suggested code, which is literally "just a builtin addition", but your opinion is that "He says that you can't use builtin addition".

OK, sure.

Re:Abuse is indefensible by tptacek on Wednesday November 04, 2015 @10:05AM (#10507029)
That is not in fact what Linus is saying. At this point you might want to take my word for it.
Re:Abuse is indefensible by ceejayoz on Wednesday November 04, 2015 @09:04AM (#10506524)
> Because it was a bad idea that ruins the Linux Kernel.

That seems a bit hyperbolic.

> Kernel development isn't for everyone.

Very little is "for everyone". That's not an excuse to offer criticism in a nasty manner. The article links to a nicer response that's a) shorter and b) a lot more likely to educate and build up a better contributor.

Re:Abuse is indefensible by cholantesh on Wednesday November 04, 2015 @09:57AM (#10506965)
I'd go even further - kernel development isn't just 'not for everyone', it's for very few. Relatively speaking, how many people are competent enough to contribute to the kernel? Those that even make the attempt are doing so voluntarily - if the reward from that is to be entreated with a hyperbolic rant, why would they bother going any further?
Re:Abuse is indefensible by tptacek on Wednesday November 04, 2015 @11:41AM (#10507733)
You all realize that this argument cuts both ways, and probably even cuts against Linus harder, right?

By the time Linus is ranting at someone at LKML, the person he's ranting at has --- statistically, at least --- already qualified themselves as especially competent. These people aren't arguing over Rails template languages.

I'm coming to realize that the sociology of Linus LKML rants is pretty fascinating.

Re:Abuse is indefensible by Cyph0n on Wednesday November 04, 2015 @09:03AM (#10506510)
I was referring to OP's general opinion.
Re:Abuse is indefensible by nabla9 on Wednesday November 04, 2015 @09:05AM (#10506531)
I would feel strong negative emotions for sure. That would be fine. I want to feel emotions and be challenged.

I would be extremely motivated to prove Linus wrong. If I would realize I was wrong, I would lick my wounds and be hurt. The hurt felt would be related to the amount of work and effort I would have invested. I would not claim that Linus is responsible for my emotional state. I was challenged and I lost.

Identifying with your ideas is fine in moderation but taking lasting personal offense is when your ideas forcefully rejected is madness.

Re:Abuse is indefensible by GeoffreyP on Wednesday November 04, 2015 @08:51AM (#10506413)
Non-attachment, experience, maturity, and a host of other techniques.
Re:Abuse is indefensible by Kristine1975 on Wednesday November 04, 2015 @08:56AM (#10506440)
But then I don't care, according to the GP...
Re:Abuse is indefensible by norea-armozel on Wednesday November 04, 2015 @09:04AM (#10506512)
But it wasn't clear what was wrong with it Linus' version of the criticism as opposed to the rewritten version which cut to the chase about the irregular usage of the helper function.