Email or username:

Password:

Forgot your password?
Top-level
wakame

@krnlg @hotkey

The fun part with that manager is that they apparently didn't understand what they were saying.

So you have 10 ifs... that means 1024 paths through that piece of code... all which have to be considered and tested.

With 20 ifs it's 1048576 paths.

"Yes, I hold a system of several billion states in my head while coding. What do you, manager person, do all day?"

2 comments
Alexander The 1st

@wakame @krnlg @hotkey "Dr. Strange's job of 'Looking ahead in Infinity War to find the specific set of battle decisions they had to take to get to the one universe where they beat Thanos' is basically what I do all day, every day, without a Time Stone.

Can I get paid at *least* a Dr. Strange's level of salary if you're correct that this is what you're saying about programming being a series of if statements?"

Alexander The 1st

@wakame @krnlg @hotkey "Pay me more than Dr. Strange, and I will leave comments in my code where 'Tony Stark has to survive so that he solves our universe's version of time travel and then proceeds to steal the Infinity Stones from Thanos after Thanos stole them from an Infinity Gauntlet, that he made to bring people back, so that Iron Man can snap Thanos out of existence.'.

For an yearly bonus, I'll add that Thor should 'Aim for the head.'"

Go Up