In a debate with Andrew Tanenbaum over microkernel vs. monolithic operating system architecture, Linus Torvalds said,Portability is for people who cannot write new programs.What did he mean by that?
What did Linus Torvalds mean by his quotation about portability?
portability;quotations
As Linus writes in the debate, it's with tongue in cheek (i.e. not to be taken too seriously).Then, he goes on to explain that while portability is good thing, it's also a trade-off; unportable code can be much simpler. That is, instead of making the code perfectly portable, just make it simple and portable enough (adhere to a portable API), and then if it needs to be ported, rewrite it as needed. Making code perfectly portable can also seen as a form of premature optimization - often more harm than good.Of course that's not possible if you can't write new programs and have to stick with the original one :)