loading...

re: The Silly Joys of Coding VIEW POST

FULL DISCUSSION
 

I live for this stuff. Joke and inside jokes in code are some of the best perks of being a programmer.

If anyone ever finds “Marty McFly” or “Biff Tannen” as test users in unit tests... then I was probably the one who wrote it. No git-blame necessary. ;)

 

There may or may not be a live system out there, which I worked on, with test users who are called:

  • Luke Skywaller
  • Han Solo
  • Leia Organa

And they all have full addresses putting them at:

Secret Rebel Base (shh, don't tell The Empire)
In Hiding
Hoth
Space
A long time ago
Far, far away
 

I do the same with my unit tests, except I typically go with characters from Harry Potter 😁

 

If I'm writing some single use scripts I always name my variables cat and dog :)

 

Unashamed to admit that my go-to is always George Costanza

Code of Conduct Report abuse