3 ms·
I think every programmer goes through the "smart" stage, where you start to get confident and write "clever" solutions for simple problems. Where you will hopef
by z3t4 11y ago
I think every programmer goes through the "smart" stage, where you start to get confident and write "clever" solutions for simple problems. Where you will hopefully transcend to writing simple solutions for hard problems.
Personally I hate stupid tests like these, just give me a real life problem that you are currently working on ...
Here's my fizzbuzz solution:
https://github.com/Z3TA/fizzbuzz/blob/master/fizzbuzz.js https://github.com/Z3TA/fizzbuzz/blob/master/fizzbuzz.js
And here's my favorite one, on how it would look like if implemented like most "enterprise code" looks like:
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...