2 ms·
"slightly more interesting/general problem" I'd say there's no great sin in solving a slightly more general problem than what you currently face. In fact, that
by jerf 9y ago
"slightly more interesting/general problem"
I'd say there's no great sin in solving a slightly more general problem than what you currently face. In fact, that's often net simpler almost immediately; it's not long before a function to format a URL is simpler than simply manipulating a URL every time. (Even ignoring the simpler issues.) The problem arises when you have something like "Let's see... I need a database... let's write an ORM." Whoops. (Speaking from harsh experience there.)