Quote:
Originally posted by TribulationStaff
Wait a second. Are you straw-manning?
|
Not at all. A strawman is an aesthetically-similar-but-different argument or stance. I'm not making any pretense regarding your position on this issue, I'm merely describing it in my own words. To call a practice poor isn't straw-manning, it's just analysing.
Quote:
|
In your opinion, more poorly. Yes. In the opinion of the computer science world, sure. In my mind, more versatile is better than more precise. I am willing to sacrifice efficiency on a small scale to make the script more useful
|
As would most computer scientists, but the difference is that your code is
much less efficient. You seem to be misinterpreting the main issue here. Coding efficiently isn't merely about making a single routine run 0.01 seconds faster. It's about challenging oneself to find better ways to solve a problem, to analyse his own code from an objective standpoint. If you don't do that then, as has been shown in this thread, you don't consider all the options.
A good coder isn't somebody who uses a hammer and crowbar to wedge his old code into somewhere it doesn't fit. A good coder designs each solution to fit a single problem, and draws on old creations only when they match the design he crafts beforehand.