86
Ezard
7y

"How do I use a for loop?"

I mean I can't fault them for being open to being taught, but if you're working as a software engineer...and can't use loops...

Comments
  • 6
    There are also these ones that don’t us switch case because they are used to if, else if , else if ... , else
  • 0
    @R3zz0R I wouldn't say that's particularly incompetent. Just poor judgement.
  • 2
    Wow, makes me realize that I've not written a loop in months
  • 0
    @willol LOL now that you mention it I rarely write loops myself.
  • 2
    How can you program without using loops?
  • 3
    @sSam There's still repeated instructions but more often than not i find myself using functions on collections like map, reduce, filter etc. It's still iterating over a collection so i guess you could call them loops but i reach for the typical for and while loops far less often
  • 0
    @R3zz0R often conditionals like these should be replaced with polymorphism
  • 1
    Oh man, good point, I've had professionals in my circles not know what even recursive functions were... O.o
  • 0
    It will take a while...
  • 1
    @sSam map, filter and reduce
  • 0
    I don't like loops, especially nested ones.
Add Comment