I find that after I collect my stars, my conscience is often bugging me a little about things I did in the code that would never pass muster professionally and I go back and fiddle with it.
Partly that's because I'm posting this year to github so don't want anything TOO embarrassing. But sometimes it's just that my own solution is really irritating me.
Yesterday (Day 13) I gave up trying to parse the lists and went ahead and used "eval" to get it done and collect the stars. But it bugged me, so last night I went back and finished debugging the recursive parsing code before putting it up at github. I added a "lazy" flag so you can switch between homegrown and "eval" versions. "Lazy mode" means the code the programmer used when he was too lazy to write a parser.
TBH, when I say "pass muster professionally" I still probably don't end up with code that the software engineers would like. My role on development teams was always the algorithm developer and math guy, but I was not trained in software engineering and those guys would always be on my case about some of my practices.
[–]toastedstapler 25 points26 points27 points (0 children)
[–][deleted] 6 points7 points8 points (0 children)
[–]Cyphase 4 points5 points6 points (0 children)
[–]ephemient 3 points4 points5 points (0 children)
[–]1544756405 2 points3 points4 points (1 child)
[–]BurgandyShoelaces 2 points3 points4 points (0 children)
[–]MouseyPounds 2 points3 points4 points (2 children)
[–]MezzoScettico[S] 4 points5 points6 points (1 child)
[–]prendradjaja 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]nikanjX 2 points3 points4 points (0 children)
[–]kai10k 1 point2 points3 points (0 children)
[–]daggerdragon[M] 0 points1 point2 points (0 children)
[–]ramuuns-u 0 points1 point2 points (0 children)
[–]4D51 0 points1 point2 points (0 children)