18
cendrb
7y

I hate when people use foo and bar in sample codes as names of variables.

Comments
  • 3
    Yes me too. Use descriptive names assholes!
  • 5
    Seen this in a test lately.

    var foo = 'bar'
    var bar = 'foo'
  • 1
    Why the point of making that in examples is that the variable names don't matter...
  • 0
    I once searched php docs to see where these people get foo, and what it does. then realised it not something special but a uninventive and not very helpful inside fucking joke thing. At least acme and I come from childhood so didn't feel like a complete tosser when I watched a acme class being created
  • 4
    Don't forget baz
  • 3
    I acutally like this, so I can easily spot code my lazy coworkers copy pasted from somewehere
Add Comment