14

What's the funniest combination of commands/keywords/variables you've seen?

I'm a big fan of "man touch" 😂
Also, a colleague named an instance of System.Threading.SemaphoreSlim to Fatboy (Fatboy Slim, get it? 😏)

Let's hear it!

edit: tounge twisters are also welcome

Comments
  • 3
    This old JS workaround is a bit amusing as well:
    var that = this
  • 4
    I guess I've been amused by this AspectJ class name the most :)

    https://github.com/eclipse/...

    And overall I like reading AspectJ code. It's been definitelly written by someone having a sense of humor :)
  • 6
    I once had a #defined thing called "real" that I could define as "float" or "double" and so change the precision of my raytracing engine in one step.

    Writing virtual functions got weird though, because I'd sometimes have stuff like

    class SomeClass {
    virtual real DoSomething();
    };

    "virtual real"
  • 2
    Does exceptions count?
  • 1
  • 6
    @ihatecomputers well I made some exceptions using songs. The example I remember currently is "hello error my old friend, I come to fail you once again. Because the DB not connecting, and the timeout just not ending. And the query you just ran,wont return. Xxxx " (I dont remember what was in Xxxx). It was about sql server connection problems
  • 2
    @hubiruchi Creative 😀 I once included this link in a permission exception https://youtu.be/7qnd-hdmgfk
  • 1
  • 8
    @netikras I took a gander and particularly enjoyed the return function (especially the invisible question mark):

    public boolean wellHasItThen/*?*/() {
    return ohYesItHas;
    }
  • 4
    In a company that use the Hungarian naming convention, I once had to declare a local variable of type object and name it table row. It came out as l_o_tr, and I found it pretty funny
  • 3
    long timeago; // in a galaxy far far away

    saw this somewhere

    man kill
    man finger
Add Comment