5 ms·
In an infamous rant, Linus Torvalds also hints at using a language as a filter for programmers[1]: >Quite frankly, even if the choice of C were to do nothing b
by noname120 7y ago
In an infamous rant, Linus Torvalds also hints at using a language as a filter for programmers[1]:
>Quite frankly, even if the choice of C were to do nothing but keep the C++ programmers out, that in itself would be a huge reason to use C
[1] http://harmful.cat-v.org/software/c++/linus http://harmful.cat-v.org/software/c++/linus
- jcelerier 7y agoand yet here we are in 2019 where linus happily contributes to a C++ codebase (https://github.com/Subsurface-divelog/subsurface https://github.com/Subsurface-divelog/subsurface)
- stOneskull 7y agoHe's a good programmer though, not the kind he wanted to keep out.
- shereadsthenews 7y agoConsidering the astonishing density of defects in Linux we can treat its author’s advice on software development as anti-advice.
- mcguire 7y agoWhat is the density of defects in Linux? Any published comparisons?
- ofrzeta 7y agoAccording to Coverity, the "defect density" of the Linux kernel is around 0.5 errors per 1000 lines of code, while the average of the analyzed open source projects is around 0.7. Best among the analyzed projects is Python (the language/stdlib I guess) with an error rate of 0.08.
- shereadsthenews 7y agoI don’t know about relative quality but Syzkaller finds a new kernel bug every minute or two and Coverity says there are thousands of unfixed defects that their static analysis can detect.