3 ms·
If it's not there, it can't break
- thesuperbigfrog 5y ago"If it's not there, it can't break" is also true for software engineering: "No Code" or Nihilist Software Engineering No code runs faster than no code. No code has fewer bugs than no code. No code uses less memory than no code. No code is easier to understand than no code. No code is the best way to have secure and reliable applications. Write nothing; deploy nowhere. One of my most productive days was throwing away 1,000 lines of code. -- Ken Thompson The cheapest, fastest, and most reliable components are those that aren’t there. -- Gordon Bell Deleted code is debugged code. -- Jeff Sickel Master Foo and the Ten Thousand Lines Master Foo once said to a visiting programmer: “There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” The programmer, who was very proud of his mastery of C, said: “How can this be? C is the language in which the very kernel of Unix is implemented!” Master Foo replied: “That is so. Nevertheless, there is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” The programmer grew distressed. “But through the C language we experience the enlightenment of the Patriarch Ritchie! We become as one with the operating system and the machine, reaping matchless performance!” Master Foo replied: “All that you say is true. But there is still more Unix-nature in one line of shell script than there is in ten thousand lines of C.” The programmer scoffed at Master Foo and rose to depart. But Master Foo nodded to his student Nubi, who wrote a line of shell script on a nearby whiteboard, and said: “Master programmer, consider this pipeline. Implemented in pure C, would it not span ten thousand lines?” The programmer muttered through his beard, contemplating what Nubi had written. Finally he agreed that it was so. “And how many hours would you require to implement and debug that C program?” asked Nubi. “Many,” admitted the visiting programmer. “But only a fool would spend the time to do that when so many more worthy tasks await him.” “And who better understands the Unix-nature?” Master Foo asked. “Is it he who writes the ten thousand lines, or he who, perceiving the emptiness of the task, gains merit by not coding?” Upon hearing this, the programmer was enlightened. Source: "The Art of Unix Programming" by Eric Raymond From: https://github.com/rmcnew/nocode https://github.com/rmcnew/nocode
- bckr 5y agoThat was an excellent read. I must obtain Unix nature.
- thesuperbigfrog 5y agoMore Unix koans: http://catb.org/esr/writings/taoup/html/unix_koans.html http://catb.org/esr/writings/taoup/html/unix_koans.html Unix nature: http://catb.org/esr/writings/taoup/html/ http://catb.org/esr/writings/taoup/html/
- inglor_cz 5y ago“The best part is no part. The best process is no process. It weighs nothing. Costs nothing. Can’t go wrong” - @elonmusk (hat tip to Everyday Astronaut - Tim Dodd: https://twitter.com/erdayastronaut/status/1203840982497792005?lang=en https://twitter.com/erdayastronaut/status/120384098249779200...) I wish this was the leading principle when the Space Shuttle was being designed.
- AlbertCory 5y agoIf you want a nearly impossible and thankless task in engineering: Try to remove a feature that's already there. Everyone benefits a teensy bit, but the person who put it there fights like a honey badger to keep it. Imagine the car company team that sources and finishes head gaskets. "What, you want to eliminate the head gasket? Over our dead bodies!"
- inglor_cz 5y agoA sufficiently heartless AI would probably take your last sentence and recommend it as an efficient solution to the problem :)
- jdsully 5y agoSoftware seems to be removing features all the time. It’s too the point when I see that update notification I wonder what else will be taken from me. Tesla took away quick access to defrost in the middle of winter as the most recent example. It’s now buried in a menu.