News for hackers. Stuff that matters.
Re:How to Pass a Programming Interview by ktRolster on Tuesday March 08, 2016 @03:05PM (#11248116)
Most likely you think about it, though. When you're coding, and you have a triple loop, do you think, "Oh, this is O(n^3). Is n going to be too big here?"

It may be something that's so intuitively obvious to you, that you don't even think about it. So you naturally use the hashmap, where someone else might try a list and then start doing a lookup in a loop. Then while that particular instance might not break things, it'll slow things down, so overall the application feels sluggish instead of snappy.

Re:How to Pass a Programming Interview by eecks on Tuesday March 08, 2016 @05:36PM (#11249364)
I've never ever thought that to myself. Then again my code never has triple loops.
Re:How to Pass a Programming Interview by Retra on Tuesday March 08, 2016 @10:02PM (#11250602)
So do you never call anybody else's functions, or do you always verify that they don't do any loops in those calls?