Programming is iterative process, so your first solution might be more complicated than necessary. You learned more about the problem in the process, so now you could rewrite or refactor your solution to be simple, elegant.. Unluckily your first version worked and management noticed it.. "We are done here, let's deliver..."
This article reminds me of PEP20 which I try to keep at the front of my mind anytime I'm writing a piece of code. (It's also good life advice)
https://www.python.org/dev/peps/pep-0020/
I know this isn't explicitly on topic, but that logo is a non-starter for me. You could have the most interesting article in the world on that page and that character in the top left corner is going to instantly cut your page views.
6 comments
7 u/StillNewbie 09 Jul 2015 15:07
Programming is iterative process, so your first solution might be more complicated than necessary. You learned more about the problem in the process, so now you could rewrite or refactor your solution to be simple, elegant.. Unluckily your first version worked and management noticed it.. "We are done here, let's deliver..."
2 u/BitterBiped 09 Jul 2015 12:43
I completely agree with this article. I go out of my way to make my code as simple as possible.
Some of my favorite quotes around complexity are:
1 u/fupalove 09 Jul 2015 13:26
This article reminds me of PEP20 which I try to keep at the front of my mind anytime I'm writing a piece of code. (It's also good life advice) https://www.python.org/dev/peps/pep-0020/
0 u/IAmNotACylon 09 Jul 2015 14:33
I know this isn't explicitly on topic, but that logo is a non-starter for me. You could have the most interesting article in the world on that page and that character in the top left corner is going to instantly cut your page views.
0 u/unusual 09 Jul 2015 17:35
I thought this article was great. It's ashame that the word 'complexity' is now going to give me nightmares.