πΎ Archived View for gmi.noulin.net βΊ unixKoans βΊ ten-thousand.gmi captured on 2024-08-19 at 03:49:12. Gemini links have been rewritten to link to archived content
β¬ οΈ Previous capture (2023-01-29)
-=-=-=-=-=-=-
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
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.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Editor's IntroductionΒ Β Master Foo and the Script Kiddie