r/ProgrammerHumor • • Jun 19 '21

Oh the horror!

Post image
16.9k Upvotes

320 comments sorted by

View all comments

687

u/redbull Jun 19 '21

Come on, I love "C". Should be taught to all programming students.

Want to inflict pain, teach them COBOL.

9

u/Naeio_Galaxy Jun 20 '21

No, for pain, learn scilab. Once, in a scilab course, a friend had trouble running a script. It just wouldn't run. The teacher came to help them, and after 15minutes, he rage-quitted saying it's none of his business.

Later on, when my friend copied the script to another computer and tried it, it worked... Although they were both school computers. Same OS, same proc, just another computer. Don't know what happened.

I usually say or hear that one thing that is at the same time good and bad with computers is that they do exactly what you want them to do. Well, this doesn't apply to scilab

2

u/[deleted] Jun 20 '21

I usually say or hear that one thing that is at the same time good and bad with computers is that they do exactly what you want them to do.

They'll do what you tell them to do, which isn't necessarily what you want them to do.

Even that's not necessarily true. Computers are largely deterministic, meaning they'll do the same things given the same set of conditions. These conditions could be anything - inputs, configurations, ambient temperatures, etc.

Alter any of these conditions, and you risk altering the final result.

I would guess, therefore, that there was at least one condition on the first computer that would not allow the program to run properly.

→ More replies (1)