News for hackers. Stuff that matters.
Re:10+ years of experience and no hash maps or Fizz Buzz for... by headmelted on Wednesday June 21, 2017 @04:15AM (#14601872)
This can't possibly be true... can it?
Re:10+ years of experience and no hash maps or Fizz Buzz for... by Quarrelsome on Wednesday June 21, 2017 @04:20AM (#14601903)
I exaggerated the number a little. I think I was the third or fourth. At that company I met a contractor who thought architecture meant just turning everything into a Singleton. I was asked to write some tests for his code (fml).

> Its in the Gang of Four!

Was his defence.

Re:10+ years of experience and no hash maps or Fizz Buzz for... by Ntrails on Wednesday June 21, 2017 @04:53AM (#14602071)
One chap at my last place had a crusade against the global variables littered throughout the code base. By gods did he fight the good fight. After what must've been a good 2 years of active bitching and pruning, a new product was developed by a sub team without him - to be considered the pinnacle of tech that the team could produce.

Look at this - just a single global variable!!! Amazing! The progress!

Just that one global Dictionary<string,object> which contained everything the various classes would ever want, all easily grabbed with nothing more than a string and a quick cast into whatever the actual type was.

Magic

Re:10+ years of experience and no hash maps or Fizz Buzz for... by Cakez0r on Wednesday June 21, 2017 @05:15AM (#14602200)
I can't tell if you're being sarcastic or not, but that is way worse than just having several globals.
Re:10+ years of experience and no hash maps or Fizz Buzz for... by Ntrails on Wednesday June 21, 2017 @05:40AM (#14602332)
So. Much. Worse.

(sarcasm on the internet failure)