Don't Be Clever: Humor is Essential to Learning to Code

Python isn't named after a snake, it is named after Monty Python. Being half British, my father ensured I grew up ensconced in Monty Python. My Godfather, a force in me becoming a programmer, was also a huge Monty Python fan. He authored books on early computer science.

The Second Life community of LSL programmers had a pretty good sense of humor. The wiki page was defaced, and after a few years, I decided it was time to recover some of the funnier pages that were posted, which all had nuggets of wisdom. Without further ado...


by flipperpa on Dec. 17, 2010, 2:09 p.m.

Python
Random
Random Number Selection
The truth behind how random numbers are chosen, revealed!
Credit: xkcd

Don't Be Clever.

Clever programmers think they are smarter than the accumulated programming wisdom of the last 60 years.

Clever programmers think that they will remember everything they're thinking at this moment, so there's no need to comment their code.

Clever programmers think that it's worthwhile to sacrifice clarity in their code to cut down on the number of lines in their code.

Clever programmers don't need to investigate root causes, because it isn't fun or shiny.

Clever programmers invent their own indenting and brace style and then do not even stick to it.

Clever programmers don't need to write efficient code, because hardware is always getting cheaper.

Don't be clever.

Becoming an Elite Programmer

l33t: Incorrect spelling of 1337.

1337: Shorthand to 31337.

31337: It means "elite." Wow.

Practical Programming & Pizza

Always write a getPizza() function before any others.

Writing the first 90 percent of a computer program takes 90 percent of the time. The remaining ten percent also takes 90 percent of the time and the final touches also take 90 percent of the time.

Technical Documentation is like pizza. When it's good, its very very good. When it's bad, it's better than nothing.


A scripter I knew got quite prickly

When scripts became laggy and sickly

He spiffed up his code

Reducing the load

And now they all crash twice as quickly.

Making the Impossible, Possible...

integer state = 1;

default
{
   state_entry()
   {
      if(state == 0);
      {
         llShout(0, "OH GOD BRACE FOR IMPACT");
      }
   }
}