r/ProgrammerHumor • • 21d ago

Meme programmingLanguagesWhenYouAskThemToDoSomthing

Post image
1.6k Upvotes

224 comments sorted by

View all comments

Show parent comment

8

u/amatulic 20d 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 19d ago

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

1

u/amatulic 19d 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.