πŸ’Ύ Archived View for gmi.noulin.net β€Ί unixKoans β€Ί ten-thousand.gmi captured on 2023-07-10 at 14:35:09. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Master Foo and the Ten Thousand Lines

Prev

Next

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

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

Prev

Home

Next