this post was submitted on 12 Mar 2024
1092 points (95.7% liked)

Programmer Humor

32495 readers
44 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Please dont take this seriously guys its just a dumb meme I haven't written a single line of code in half of these languages

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 103 points 8 months ago (3 children)

missing the stage of C where it's all incomprehensible bitfucking with comments like "this works, i do not know why it works, do not touch this"

[–] [email protected] 36 points 8 months ago (1 children)

Real fast inverse square root algorithm hours

[–] [email protected] 18 points 8 months ago (1 children)

That one is not that complicated if you don't think about the math. It's basically just if we interpret the float as int and add a magic number we have a good estimation.

From what I remember at least, it's been a little while since I implemented it.

[–] [email protected] 8 points 8 months ago

I was more thinking of the comments which are pretty much exactly what you said ("incomprehensible bit hacks" followed by "what the FUCK?")

[–] [email protected] 13 points 8 months ago (1 children)
[–] [email protected] 15 points 8 months ago (1 children)

CSS isn't as bad these days if you use Flexbox. Debugging floats and absolute/relative positioning was a nightmare in comparison.

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago)

On the other hand, it made webpages way less flexible.

Like yesterday (i have the browser not in fullscreen, for reasons) on my 16" fullhd notebook, webdev couldn't imagine that someone would use his site in a ~1000px browser window, sidebars left and right, the main content about 20 characters wide squeezed inbetween. So i pressed f12 and deleted the sidebars. But the content was still 20em wide, because of flexbox.

[–] Clent 10 points 8 months ago

C should show some overflow corruption of the problem graphic.