|
jim_brower (on ) commented
11 years ago
I tried to design it a little bit better this time, but I am still not particularly satisfied with it. I feel like it should be short since it's a script, but I also feel the desire to turn my options array into a class and wrap it up better. Do you think the way it is now is better than the last iteration? Have I gone too far with trying to make it "better"? |
Reply ·0 | |
|
|
|
Matt Attaway (on ) commented
11 years ago
One of the most painful lessons to learn as a developer is that frequently the clean, elegant solution is wrong. Adding robustness and error handling almost always makes things uglier, but we don't get paid to make pretty code. 😄 There is a way you can re-org the code a bit to be prettier. I'll swing by to chat about it. |
Reply ·0 | |
|