NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
But what's a "problem"? (Score:1)
I, of course, agree completely :-)
However it can be tricky to pull off if different people have different ideas of what a "problem" is. To me, duplicate and/or unclear code is a big problem. Something that needs fixing straight away. Other people don't seem to think that way unfortunately.
Re:But what's a "problem"? (Score:2)
Re:But what's a "problem"? (Score:1)
I agree completely that premature generalisation that creates the kind of uber-frameworks that many Java folk seem enamoured off is evil.
That's not my aim however. I'm removing duplication. I'm solving an existing problem with less code. I am very definitely not trying to solve any general problem that isn't in the code already.
Re:But what's a "problem"? (Score:2)
Re:But what's a "problem"? (Score:1)
Re: (Score:1)
Architecture astronauts [joelonsoftware.com]?
The problem of course... (Score:1)
I have this happen regularly. I admit I tend to be a bit "visionary" and see further ahead than many, and as a result a lot of my first implementations tend to be very general. They used to often be overly general, although I've tried to retrain myself a bit more lately.
The problem of course is that when you think you Ain't gunna need something that will be hard to change to us
Re: (Score:1)
I haven’t had any luck trying to track this down, but Knuth is said to have something along the lines that each problem in software can be solved with either more or less abstraction, and that experience tells us which one is the way to go.
(If someone has a citation, I’d love to know it.)
My corrollary (Score:2)
--
xoa