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
		- 
				
				
Root772338yMy predecessor called an if block a loop during a code review. I cringed visibly enough for him to ask, "what?"
He didn't like doing code reviews with me. - 
				
				
musician6578yIf statement can be expressed with loops tho. Atleast thats what I remember from my theoretical cs class - 
				
				Technically an if statement is a while loop with exactly zero to one executions of the code block contained within it.
Also it seems to be a pattern here. Students mocking their teachers. You are acting way too proud for a student. One day someone is going to put you in you place and make you feel stupid, and then you will learn the most valuable lesson of being human...humility. - 
				
				@deusprogrammer ive done the same with my teachers, who came to me to ask questions. And yes it has happened to me to a few times, and Im happy with it because it keeps us sharp and willing to improve.
 


My cs prof just said if loop.
rant