Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
LFlo966yWait, just to be clear: so the "mistake" was that you had the i loop inside the j loop instead of j in i? Wtf?
-
devios157706yIf you’re going to name your iterators i and j the least you could do is put them in order. I think that’s good advice.
I don’t think I would fail anyone over it mind you. -
ste0910416y😄 probably he just wanted to introduce you to the concept known by so many "devs" out there that you don't necessarily need to understand the code if you can copy/paste it from StackOverflow or from a book as in this specific case 🐒
-
bhumil732066ywho the hell teaches like that....
totally insane...
now we can't even choose our own variable for a task... 😂😂😂😂😂 -
Root825996yWhy do people even teach bubble sorts?
The first one I wrote was in like 7th grade, and I came up with it on my own. -
Is it Fortran that you guys are using for the computing course? If so then the I,j,k-loop makes absolute sense by default in Fortran
-
@ceee
I did mathematical computing in 3rd year of my undergrad... it was a long time ago not sure nowadays
This F***ing government college faculty crossed my complete answer of a F***ing bubble sort in 3rd year of Mathematics & Computing by saying and I quote, " Why is this i loop inside of j loop?" and after getting again on my feet after listening and understanding this absurd statement, I tried to explain to which he asked ne to show any book where it is written like this.
To i loop and j loop he meant the variable name in for loops, 🤬🤬🤬🤬
these f***ing reserved government professors in elite institutions like IITs
rant