r/ProgrammerHumor • • Nov 12 '20

Removed: Repost It's the law!

Post image

[removed] — view removed post

10.9k Upvotes

378 comments sorted by

View all comments

-1

u/Sudhanva_Kote Nov 12 '20

When I was in 2nd year of engineering (it was introduction to C) our teacher asked " can we use anything else other than i in (for i=0; i<n;i++). One girl who is also topper of the class said no. So everyone else collectively said no. Me and my friend knew we can use any variable. We still sometimes tell her "I'm going to use k in a for loop".

0

u/[deleted] Nov 12 '20

[deleted]

1

u/Sudhanva_Kote Nov 12 '20

The question was asked before nested loops. At that point we didn't even knew we can have loop inside a loop. It was like 1st grade in terms of programming

1

u/DrRocketWizard Nov 12 '20

In what college are you?

1

u/Sudhanva_Kote Nov 12 '20

It's in India.... I know in 2nd year we should have been taught better.... The whole system is shit.