Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Let me start by apologizing for not really answering your question.

There are basically two kinds of flow charts: One describes an algorithm (instead of using pseudo code; a good example is here, the other gives a high-level overview over how different components interact in a complex application.

As has been pointed out, both are language independent.

And the second one is usually a lie.

Most complex programs these days are object oriented, and that means that that whenever you obtain data from an object outside your own class/package/module, you call a method from another class or object. So a real-world application crosses the border between classes thousands of times, instead of having a smooth border that is crossed once or twice.

Instead of showing the control flow, it would be far more interesting to know what objects are shared between subsystems, or through which objects subsystems interact with each other.

Which brings me to my main point: For a complex system, a detailed flow chart is usually too complicated to show anything of interest, and a simplified flow chart is usually a lie and often not helpful either.

So if your program is getting so complex that you lose overview over the control flow, it might very well be a sign that you could use a better approach. Like objects which don't care very much about control flow, because they are well encapsulated.

Perl 6 - links to (nearly) everything that is Perl 6.

In reply to Re: Tool used by Perl developers to design the flow of Perl Projects by moritz
in thread Tool used by Perl developers to design the flow of Perl Projects by paragkalra

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found