in reply to Re: Perl/Html Question - rows are not aligned between different columns
in thread Perl/Html Question - rows are not aligned between different columns

Why is it that people are willing to learn how to actually do the task at hand when it has to do with physical things (driving, power tools, etc), but have this INSANE notion that they can just sit down at a computer and whip out the next Facebook in a weekend?!

Here is what you need to do, in this order:

  1. Stop working on your project. Now.
  2. Go out and buy a copy of Learning Perl.
  3. Read said copy of Learning Perl
  4. Come back to your project and throw it all away.
  5. Start again, this time actually thinking through what you're trying to do.

I'm not "being mean." I'm trying to teach you how to fish.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re^2: Perl/Html Question - rows are not aligned between different columns

Replies are listed 'Best First'.
Re^3: Perl/Html Question - rows are not aligned between different columns
by tilly (Archbishop) on Nov 03, 2007 at 14:16 UTC
    Um, Learning Perl explicitly assumes that you know how to program and so doesn't try very hard to teach basic programming practice. At least that was the case with earlier editions.

    I'd suggest something aimed at beginning programmers like Beginning Perl. At least it is available for free, and it includes a chapter on how to write CGI programs. (Using CGI.pm's methods rather than a template system, but it is still likely to give some helpful ideas.)

    Of course if you wanted to be nasty, then you could recommend starting with Structure and Interpretation of Computer Programs. (For those who don't know it, this is an excellent book. It is available online but I recommend buying a copy, reading it, and re-reading it every few years. I'm getting due to re-read it again. That said, it is pitched at a fairly high level, and for most people will push them to completely rethink how they think about programming.)

    The book that I really wish I could get lots of people to read is Code Complete 2. Of course they never will since it is a big fat book with tons of important detail. But all of that detail is valuable knowledge that programmers really should know on some level. (Preferably you want it integrated into their bones so they just do it naturally. Hey, if I'm going to dream...)