Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Design Methodology for the impatient.

by frankus (Priest)
on Jul 04, 2001 at 21:03 UTC ( [id://93890]=perlmeditation: print w/replies, xml ) Need Help??

I'm currently writing a quick but not too dirty Perl script to generate invoices for services provided by our company.

I've been careful how I code it as both our bosses are wise in the ways of Perl. To this extent I've been balancing "Software Engineering Think" with their acutely pragmatic view of Software. What that means is that using XML or Template Toolkit is liable to raise an eyebrow as this is a quick solution. Please don't autorespond, with the joys of CPAN, I use it frequently, but require a solution that works with the standard distribution

It has occurred to me in doing this that the most economical method of munging the data is to convert and process simultaneously which dragged me back to my University days and COBOL classes with the original JSP Jackson Structured Programming.

The idea of JSP is to make software analysis non intuitive, now I'm not hot on that but.. I advocate it for smaller jobs that really shouldn't require thought. JSP is basically this:

  • draw a diagram of the input structure
  • draw a diagram of the output structure
  • Overlay one with the other to get the system structure

It feels very comfortable in a quick-Perl way.

Blah blah blah standard disclaimer about using UML for OO or module structure diagrams for functional programming ;). Has anyone else tried using JSP for those medium sized hacks?


Brother Frankus.


Replies are listed 'Best First'.
(jptxs)Re: Design Methodology for the impatient.
by jptxs (Curate) on Jul 05, 2001 at 08:06 UTC
    I'd never heard of that JSP before, but I use it all the time =) I don't often actually draw out the diagrams, but sometimes do. Most of what I do are medium sized hacks; so I guess I settled on that method just by sheer luck.

    We speak the way we breathe. --Fugazi

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://93890]
Approved by root
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-07-24 09:26 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.