3 ms·
Seeing this post in context of whole conversation will show that Linus' stance was not that bad: https://lkml.org/lkml/2000/8/22/12 https://lkml.org/lkml/2000/
by hex13 11y ago
Seeing this post in context of whole conversation will show that Linus' stance was not that bad:
https://lkml.org/lkml/2000/8/22/12 https://lkml.org/lkml/2000/8/22/12
(quote from Linus' post)
`It's true that "simple and tested code means less bugs". And quite often, code sharing will imply that the code gets (a) more complex and (b) has cases that people who make changes will never be able to test.
No, I'm not saying that sharing is bad. Sharing is good. But anybody who makes a blanket statement like "sharing reduces bugs" is full of crap.
Good and clear interfaces reduce bugs. Avoiding complexity reduces bugs. Using your brain before you code something up reduces bugs.
But making a very complex driver that handles ten different variations on the same hardware? No. That does _not_ reduce bugs. It's quite often more efficient to have two people work on two drivers that are independent of each other, than to have two persons working on the same driver. Alan put
it well at some point: the way to create working open source software is to minimize the amount of communication needed.`
I think he's veeeeery reasonable in this. This reminds me "Wrong Abstraction" article.
https://news.ycombinator.com/item?id=11032296 https://news.ycombinator.com/item?id=11032296
Sometimes it is better to create two separate things than create some weird obscure abstraction which cover all the cases.