r/ProgrammerHumor • • 29d ago

Meme programmingLanguagesWhenYouAskThemToDoSomthing

Post image
1.6k Upvotes

224 comments sorted by

View all comments

38

u/Ex_Federa 29d ago

As yes, C. Famously the easiest language to do things in.

36

u/b183729 28d ago

Oh, it will do it. It will do exactly what you tell it to. That's the problem. 

25

u/da_Aresinger 29d ago

It is though.

C doesn't fail on complexity. It fails on convenience and safety.

24

u/ncatter 29d ago

In my admittedly small experience C does exactly what you asked for, no questions asked.

9

u/evilcandybag 29d ago

Unless you do something undefined. Then it's demons out of your nose.

8

u/amatulic 28d ago

Yup. You want it to write data beyond the bounds of an array? No problem. You asked for it.

I remember a quotation from when Pascal was taught in schools. You could say the same about Python nowadays:

"Pascal gives you a water pistol filled with distilled water. C not only gives you a loaded .357, it points it at your head as a default. Why do you think Pascal is taught in school? And which would you rather have when there is a hungry bear in the area?"

2

u/Maniklas 28d ago

Never heard it before, but I love that metaphor and will keep it for my students.

1

u/amatulic 28d ago

It may have originated from a fortune cookie file that was available for AmigaDOS. Some of those were clever and I wrote them down.

3

u/namitynamenamey 27d ago

So a more accurate description would be "On it boss! *cocks shotgun*

1

u/coderstephen 28d ago

Especially when questions should be asked.

1

u/originalmicrousb 27d ago

boss the kernel has something to say to you