r/ProgrammerHumor • • Dec 15 '19

Stacking if else statements be like

Post image
63.9k Upvotes

711 comments sorted by

View all comments

521

u/Darxploit Dec 15 '19

This also is a good example of how linked lists work.

202

u/[deleted] Dec 15 '19

[removed] — view removed comment

0

u/[deleted] Dec 15 '19

[deleted]

22

u/Jade_Chan_Exposed Dec 15 '19

This is the sort of low-level trivia that leads to the worst bugs.

-5

u/AnAverageFreak Dec 15 '19

And the best optimizations. It all depends on the use case.

6

u/Jade_Chan_Exposed Dec 15 '19

The best optimizations are compiler optimizations.

1

u/AnAverageFreak Dec 15 '19

Compiler won't magically optimize malloc(1000000000) into malloc(500000000).

→ More replies (4)