Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: program design language - a reality?

by tadman (Prior)
on Feb 20, 2001 at 10:52 UTC ( [id://59605]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: program design language - a reality?
in thread program design language - a reality?

While eduardo may be a little cranky, it is not without good reason. There is no reason why Perl, C, or even assembly code cannot be programmed in such a fashion that it works as intended, is readable, and is maintainable by someone other than the original author. You don't need a "magic bullet" like PDL to make it happen.

PDL may have its utility in specific situations, such as desigining a 50 million lines-of-code nuclear missile launcher network operating system, but then you will recall that even PDL developed applications are not without the fundamental element of human error (i.e. the "Y2K" problem).

Perl, in fact, has it's own built in English meta-language that can make the program easy to read, even for the "manager" types.

They're called comments.
  • Comment on Re: Re: Re: program design language - a reality?

Replies are listed 'Best First'.
Re (tilly) 4: program design language - a reality?
by tilly (Archbishop) on Feb 20, 2001 at 20:40 UTC
    I have to disagree on several items.

    First of all, it does not seem that you understand that PDL is a coding construction technique, not a software design methodology. I would not recommend diving into a 50 million line program armed only with PDL. OTOH it can be marvelous for helping organize your thinking when writing a couple of hundred lines of code, whether those hundreds of lines are a stand-alone project, or a component within a 50 million line program.

    Secondly I firmly believe that it is a mistake to think that comments are a substitute for readable code. I am not saying that you think this, but I feel I should point it out anyways.

    In fact in my experience quite the opposite is true. I have seen well-meaning people reduce simple, straightforward code to utter incomprehensibility through excessive commenting. The result is about as readable as a legal document, for about the same reason.

    Don't get me wrong, comments used wisely will usefully augment readable code. However they are not a substitute for readable code, and having comments that literally parellel code is a Bad Idea in my books.

Re: Re: Re: Re: program design language - a reality?
by salvadors (Pilgrim) on Feb 20, 2001 at 17:50 UTC

    Perl, in fact, has it's own built in English meta-language that can make the program easy to read, even for the "manager" types. They're called comments.

    Actually, whereas almost all programming languages support comments, Perl goes one step better by having POD.

    Embedded documentation is even better than embedded comments!

    Tony

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://59605]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-19 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found