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
-
Jesus fucking christ. Even I feel mad rn.
Can someone drop some "the Shit" code so we can relax by knowing there are also good code? -
lmao I have been there, reminded me of this code base in which the javascript variables, functions and objects were for whatever reason pre-fixed with hotDog
hotDogCustomerNumber
hotDogXMLRequest
hotDogUserName
I never understood why and never had the chance to ask the developer WHY -
@melezorus34 I mean
Depending on what you enjoy, quake's Fast InvSqRt() is pretty sick
float Q_rsqrt( float number )
{
long i;
float x2, y;
const float threehalfs = 1.5F;
x2 = number * 0.5F;
y = number;
i = * ( long * ) &y; // evil floating point bit level hacking
i = 0x5f3759df - ( i >> 1 ); // what the fuck?
y = * ( float * ) &i;
y = y * ( threehalfs - ( x2 * y * y ) ); // 1st iteration
// y = y * ( threehalfs - ( x2 * y * y ) ); // 2nd iteration, this can be removed
return y;
} -
@TheMatter13 I do enjoy it after learning about how the second part works, so let's patch the youtube link here. https://youtu.be/p8u_k2LIZyo?t=886
-
@ars1 i have seen some weird shit, to add more to it, this was a gig writing VBScript and Delphi code. Shit was so bizarre but it paid WELL.
10/10 would do it again. I am in this mostly for the money. I have no neckbeardness concerning the tools I use, it could be the most hated platform in the world, I don't give a fuck, I will work with it.
mmmmmmmmmmm money -
@AleCx04 hey look, we don't go to work so we can spend the other half of our waking hours cold and hungry. Get that money, spend it on good times and happy living
Related Rants
-
PonySlaystation4The time when work got you burnt out / exhausted? Yes.
-
DirtEffect2Worked for a friend of mine in the early 2000s. Had to implement a booking system into PHP for some private cu...
-
preezer1Our boss did always the same thing. When there was a BIG potential customer who indicates a small interest in ...
5 years ago in Texas. There is shit code and then there's SHIT code. I know I can produce bad code and often do, but that codebase was an eldritch abomination.
Just to give you a tiny taste, variables in JS would usually be called "that" because "when calling them, I send the 'this' value right? So in the other function it is 'that'". I wish I was making this up. And this is nothing compared to everything else.
rant
wk311