Re: A wide open niche in Perl publishing...
From: J Krugman (jkrugman345_at_yahbitoo.com)
Date: 02/16/05
- Next message: PerlFAQ Server: "FAQ 4.5 How do I convert between numeric representations/bases/radixes?"
- Previous message: ioneabu_at_yahoo.com: "search perldocs against each word in a string"
- In reply to: Sherm Pendley: "Re: A wide open niche in Perl publishing..."
- Next in thread: Peter Scott: "Re: A wide open niche in Perl publishing..."
- Reply: Peter Scott: "Re: A wide open niche in Perl publishing..."
- Reply: bill: "Re: A wide open niche in Perl publishing..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 16 Feb 2005 04:48:01 +0000 (UTC)
In <4PGdnaAejrxc84_fRVn-rw@adelphia.com> Sherm Pendley <spamtrap@dot-app.org> writes:
>J Krugman wrote:
>> Unless I've been looking in all the wrong places, it seems to me
>> that there's a wide open niche in Perl-related publishing (and in
>> all of programming-related publishing, for that matter). I don't
>> even know what to call the type of book I'm thinking of. It's
>> something in the spirit of the (awesome) Perl Cookbook, but dedicated
>> to larger-scale design issues, instead of bite-sized solutions.
>I think you've been looking in the wrong places. The kind of large-scale
>application design issues you're talking about aren't language-specific,
>and books that talk about them tend to use pseudo-code and/or diagrams to
>illustrate their points.
>The assumption is that someone who's designing applications at that scale
>will be familiar enough with the target language that they'll have no
>problem translating the abstract ideas from the book, into concrete code in
>the language of their choice.
>Have a look at "Design Patterns", for example.
Well, I just couldn't disagree more. I *am* very familiar with
"Design Patterns" and several other books of the same ilk, familiar
to the point of nausea, actually. Those books are good as far as
they go, but they are no substitute for a functionally coherent,
detailed, extended example written in a real programming language,
not in pseudo-code.
Three reasons.
First, a working extended example cannot be content with presenting
beautiful theoretical schemes, featuring infinitely sensible
abstractions out the wazoo and layer upon layer of clever indirections,
if come run time the code ends up being slower than molasses in
January, or if, in the concrete problem at hand, the implementation
of gorgeous design pattern A happens to conflict in subtle ways
with the implementation of exquisite pattern B. A real example
has to be, above all, functional, which may or may not agree with
higher-level considerations. (Have you seen the guts of perl???
How's *that* for pretty? Most of perl internals would give the
GoF seizures.)
Second, programming books written in pseudo-code implicitly assume
that all the important design decisions in programming are essentially
orthogonal to the choice of language, which is far from the case.
The particular facilities and limitations of a language (is it
strongly typed? what support does it have for namespaces and scopes?
what support for exceptions? what support for callbacks? etc.) are
often decisive to the ultimate shape of the code. In fact, the
choice of language for a project is in itself a major design
decision, and this choice is based, at least in part, on how the
strengths and weaknesses of a language impinge on the project's
goals.
Third, if theoretical books like "Design Patterns" where enough,
books like "The Perl Cookbook" wouldn't sell nearly as well as they
do. Most of the basic Perl information and design advice in "The
Perl Cookbook" is already present in "Programming Perl", but for
someone learning the craft of programming it is invaluable to see
how exactly (and how far) design principles are put into practice.
"The Perl Cookbook" does a great job at showing the reader how to
code Perl "in the small". I think there is very much of a need
for a follow up (or twelve) that show in gory detail how one programs
Perl "in the large."
(I sure hope that someone at O'Reilly, or Manning, or New Riders,
or Apress, etc. is reading this.)
jill
jill
--
To s&e^n]d me m~a}i]l r%e*m?o\v[e bit from my a|d)d:r{e:s]s.
- Next message: PerlFAQ Server: "FAQ 4.5 How do I convert between numeric representations/bases/radixes?"
- Previous message: ioneabu_at_yahoo.com: "search perldocs against each word in a string"
- In reply to: Sherm Pendley: "Re: A wide open niche in Perl publishing..."
- Next in thread: Peter Scott: "Re: A wide open niche in Perl publishing..."
- Reply: Peter Scott: "Re: A wide open niche in Perl publishing..."
- Reply: bill: "Re: A wide open niche in Perl publishing..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|