News for hackers. Stuff that matters.
Re:Applying the Linus Torvalds “Good Taste” Coding Requirement by palunon on Wednesday October 26, 2016 @08:36AM (#12795918)
>If you're at BigCo and your codes going to be maintained by disinterested drones/ random contractors/etc, obvious code is better.

But what if you're Linus Torvalds and maintaining the Linux kernel ?

Re:Applying the Linus Torvalds “Good Taste” Coding Requirement by IshKebab on Wednesday October 26, 2016 @09:19AM (#12796188)
Obvious is still important. Even kernel developers make mistakes.

The 'good taste' example may be more concise but how likely are you to spot bugs in it?

Re:Applying the Linus Torvalds “Good Taste” Coding Requirement by __jal on Wednesday October 26, 2016 @10:52AM (#12796886)
But I think that's part of the argument. Reasoning about edge cases in code full of nested loops and conditionals is hard. Eliminating branches and opportunities to hide fencepost errors (for instance) goes some way towards reducing cognitive noise so you can focus on the meat.

Of course that's not the full argument. And I'll throw in one more: it isn't anywhere near the top of the list in terms of importance, but aesthetically pleasing, elegant code has a certain amount of value, if only to other programmers. (Naturally, it has to be correct, too.)

Re:Applying the Linus Torvalds “Good Taste” Coding Requirement by colanderman on Wednesday October 26, 2016 @11:20AM (#12797148)
More likely, because there are fewer code paths to follow. Given Linus's explanation, I think that's part of the basis of his "taste", not conciseness (which in this example I suspect is a byproduct).
Re:Applying the Linus Torvalds “Good Taste” Coding Requirement by Chris2048 on Thursday October 27, 2016 @08:53AM (#12804665)
> how likely are you to spot bugs in it?

Depends on what you methods are.