Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Software Design

by mattr (Curate)
on Apr 27, 2002 at 16:46 UTC ( #162529=note: print w/replies, xml ) Need Help??


in reply to Software Design

You might like to check out GraphViz-Data-Structure-0.07 (in the cpan nodelet below) which will graph your program and can make a graph of what gets called during a program run, using Devel::Prof.

Wouldn't an ordinary flowchart work though?

Replies are listed 'Best First'.
Graphing programmatic structures is often unhelpful
by stefp (Vicar) on Apr 28, 2002 at 14:42 UTC
    A graph is sometimes a help. But I don't think flow chart help.

    As an illustration that a graph can obfuscate things instead of helping is my graphing of the perl grammar. I have done that before Leon Brocart wrote his modules. He once used that graph to demonstrate the capability of graphviz. Clearly, "strongly" connected graphs are not very readable.

    But Doxygen uses graphviz pretty well. I use it to navigate thru the TeXmacs sources. click any class name to see such graphs.

    -- stefp -- check out TeXmacs wiki

Re: Re: Software Design
by Anonymous Monk on Apr 27, 2002 at 16:49 UTC

    thanks, i'll take a look.
    I was going to do a flow chart, but then my tutor (the person who's marking it) said she 'hates' flowcharts!so I thought i'd better try another approach :)

      Maybe you should ask her what she likes? Maybe a UML State Machine? It's functionaly quite close to a flow chart but maybe the official stamp of OO aproval would make her happy.

      -sam

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://162529]
help
Chatterbox?
[Corion]: Meh. My bank removed (part of) their CSV download facilities. Now I will either have to implement a full scraper or automate the download using the HBCI interface instead (or just get a new account elsewhere...)
[Corion]: On the upside, I spend a lot of time thinking this weekend about how to actually implement rate limiting for futures, and if things work out, maybe even loading a configuration from an external file makes sense
[Corion]: I've also found some interesting invariants that I have to think/write about more. A simple rate limiter will never change the order of the input, while a limiter that allows for parallel execution will change the order. But my API currently allows for bo
[Corion]: ... for both, and I'm not sure if I want to add the cruft from the parallel API (a token that you need to hold on to while you hold the lock) to the rate limiting API too, to allow seamless up/downgrades, or not.
[Corion]: Also, rate limiting will look great with await: my $token = await $limiter-> limit($hostname); instead of my $f = $limiter->limit( $hostname )->then(sub { my( $token)=@_; ... });

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-10-23 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (277 votes). Check out past polls.

    Notices?