Sam

joined 1 year ago
[–] [email protected] 33 points 1 year ago

I always like to joke in coding interviews that I really like to make variable names as long as I can so they are very precisely named. Then when I get to a double nested loop I hit them with iterator and jiterator instead of I and j

[–] [email protected] 3 points 1 year ago (1 children)

The idea is that they can’t work longer than the peasants live, so if they want to stay in power they have to help the peasants get better healthcare

[–] [email protected] 2 points 1 year ago

To be fair he’s had the same mindset since the 50’s as well, it was just a progressive mindset that we still haven’t caught up to as a society

[–] [email protected] 1 points 1 year ago

What do those lines even mean?

[–] [email protected] 2 points 1 year ago (2 children)

When I’m doing coding interviews I always like to start off and say I’m a big fan of very long variable names. “As descriptive as you can be” I say. Then I get to my first for loop. Instead of i I use “iterator” and then when I start a nested loop I use “jiterator” and it always gets a laugh.