Check out this new code I invented Int main(void) { Printf("op is a faggot"); Return 4chins; }
I dunno if it's a thing but can we get a fake/comedy code thread?
Ryder Bell
>float Q_rsqrt( float number ) >( float number ) >not (float number)
Jaxson Edwards
it doesn't compile.. is that c or java?
Brody Richardson
Isn't this technically undefined behavior?
Christopher Garcia
Yes, but since it was written specifically for x86 and will properly work there no one should give a fuck.
Levi Barnes
It's c but it's wouldn't actually compile because I didn't define "4chins"
Grayson Gomez
>I don't understand C readability standards
Leo Murphy
const float threehalfs = 1.5F; I've never understood the point of this. Is there some kind of compiler optimization that makes this better than simply magic-numbering 1.5f in its place?
>If I mock him enough maybe nobody will notice I'm also retarded
Hunter Stewart
>i will distance myself from my earlier post, that way, i can avoid the shame of not knowing what a constant is
Colton Taylor
Look ma he keeps doing it
Jayden Bennett
>I've never understood the point of this. Is there some kind of compiler optimization that makes this better than simply magic-numbering 1.5f in its place?
Easton Roberts
You're not fooling anybody, brainlet friend
Nathaniel Miller
>webdev who doesn't know what a constant is >calling others brainlets
Nolan James
>k-keep insulting him, that'll make me sound like I'm not also an idiot!
Gavin Mitchell
>if I'm a retarded webdev, everyone else must be too
Brayden Barnes
>s-stop resisting my insults!
Isaiah Sanchez
t. webdev subhuman
Hudson Sanders
Keep trying, you might feel less called out at some point
Aaron Sanders
Not everyone is a webdev, brah
Gavin Ross
The nostalgia of the old days when people actually bothered to optimize shit.
Liam Hernandez
C'mon, keep going.
Grayson Parker
C'mon, keep going.
Ethan Peterson
cool, too bad that any gpu made after 95 renders that obsolete
Alexander Smith
>Is there some kind of compiler optimization that makes this better than simply magic-numbering 1.5f in its place?
Owen Mitchell
stay away! this is hacker code stealing nude photos!
Landon Ross
Still not fooling anybody.
James Jenkins
C'mon, keep going.
Nolan Phillips
Boy I really got under your skin didn't I
Dylan Morales
I hope you learned something today, webdev. This is why we laugh at you, you legitimately don't understand what a constant is. You give real programmers a bad name is all I'm saying.
Christopher Harris
So sad to see you this upset.
Easton Lopez
its not necessary
Connor White
Okay I feel bad for bullying you, do you want me to tell you, webdev?
Hudson Fisher
>Now that I've spent 20 minutes googling to make sure that hard-coded magic numbers aren't actually faster than constants, I can act like I knew all along!
That's what I thought, it always just seemed so odd that they would bother to declare it as a const since it's only called once. I guess originally they ran the operation twice but the production code had one iteration commented out, so it just got left in.
Aiden Cox
My language doesnt need constants. I don't even use variables.
Juan Lee
Not everyone is a brainlet like you, webdev. Try using your head a little before asking questions that an IT intern could answer.
Gavin Baker
>I've never understood the point of this. Is there some kind of compiler optimization that makes this better than simply magic-numbering 1.5f in its place?
Charles Moore
Imagine having your ego this fucked up by somebody calling you out.
Ryan Scott
Imagine not knowing what a constant is.
Ryder Brown
Imagine having no reading comprehension.
Jaxon Edwards
Imagine being unable to detect ironic situations.
Zachary Gomez
>I-i was just pretending!
Easton Martinez
>I-i wasn't s-serious
Grayson Morgan
No, see, I was. I wanted to know if there was some kind of optimization taking place that warranted declaring a constant for a value that was only being used a single time in local scope.
You, however, are just an idiot.
Carson Collins
So in other words, you don't understand what a constant is. Stick to web development, my dude.
Colton Martinez
Maybe you should take an english course or something, you seem to have a real problem understanding basic sentences.
William Walker
t. webdev too retarded to understand what constants are