Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
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 :) -
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" -
@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
-
@hubiruchi Creative 😀 I once included this link in a permission exception https://youtu.be/7qnd-hdmgfk
-
@netikras I took a gander and particularly enjoyed the return function (especially the invisible question mark):
public boolean wellHasItThen/*?*/() {
return ohYesItHas;
} -
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
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
question
get this party started