Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Design Methodology for the impatient.

by frankus (Priest)
on Jul 04, 2001 at 21:03 UTC ( #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.


Comment on Design Methodology for the impatient.
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
Node Status?
node history
Node Type: perlmeditation [id://93890]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-11-27 18:24 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls