My cs prof just said if loop.

  • 6
    In fact, he calls everything a loop. Wtf did I get myself into?
  • 1
    Maybe he means this: if something: thisfunctionwheretheifis()
  • 3
    @Tobey idk, it was in a very general context. Later he called a whole exe a loop.
  • 3
    prof.speech = prof.speech.replace( /loop/gi, 'block' );
  • 8
    My 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.
  • 3
    This made me laugh so much 😂
  • 2
    If statement can be expressed with loops tho. Atleast thats what I remember from my theoretical cs class
  • 1
    Its really Common, dont know why
  • 4
    @musician I suppose everything is a loop that runs 0..n times.
  • 1
    @Root oh yeah exactly
  • 1
    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.
  • 3
    He was probably talking about this
  • 0
    @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.
  • 2
    @stacked JS is evil :]
Add Comment