Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I've found the best solutions, pristine or not, come from people who truly understand the problem and problem space in which they are working. The truly ugly or "stupid" solutions are the ones that work by accident when the coder didn't really understand how or why.

    The bigger the project, the more important to have someone breaking the big problem into logical smaller problems. Even then, I think everyone needs to understand the larger problem.

    This is where I might find some fault with Microsoft as an exa
    • This is exactly how I feel.

      Code is always a trade-off. It always caters to some cases better than to others, because there is never any single way to do things that would always be best. Of course, I'm not saying anything new — this is why Extreme Programming proposes what it proposes, and why it embraces constant refactoring as a way of life for a project.

      What is important, is to be aware of the trade-offs. That requires a solid understanding of the problem first; it's okay to parse HTML with simplistic regexen, so long as you know exactly how your input data is structured, and sometimes even if you don't, as long as you make sure that it's not impossible to come back to this bit of code later and fix it up.

      “If it's stupid and it works, it's not stupid” actually sums this up nicely: the catch is, do you know it works? If so, well then of course, it's not stupid.