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
-
Root797347yI imagine code like this making perfect sense while wasted
// This function takes
// returns if its in the array
float arrayIncludes(char* ary, int x) {
if (!!!x) throw new OutOfMemoryError("Note to self: order some Hawaiian pizza and get more spiced rum"); //TODO: don't forget
int e = Math::E;
int y = --x; // make sure the index starts at 0
return (float) y; // duuuude why hadn't I thought of this before? Now it's the right type!!1
} -
lotd77757yTends to go full java on complexity & abstraction when I'm coding in an influenced state.
Nothing is simple then 🤷 -
Okay, now what is if a programmer answers "yes" to the question "are you drunk?"? If he is drunk, he gotta lie, so he is not drunk. But then, he says the truth and is drunk. Then again, he lies...
-
agnibha15487y@crisz
may be this will do...
function returnNextElement(arr, index) {
return arr[index++] || null;
}
When a developer is drunk.. He will lie...
undefined