Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I don't think that PDL is in widespread use, but there are definitely people who use it. For instance athompson mentioned using it at Re: Rewriting some code.

I don't always find it a fit, but I tend to use a variation on the basic idea where I write high-level pseudo-code, turn those into function calls, and then write the functions in a similar way. When I work this way I find that my functions become (well at least to me) both readable and short. In fact my functions average around 10 lines.

Most people definitely don't do that. OTOH it works for me, and I am arrogant enough to think that I am somewhat better than average...

/duck!

So definitely try it. I didn't find that doing it rigidly worked for me, but it was a worthwhile experiment, and I still use a variation on it.

Now if you will excuse me, I have some pseudo-code to sketch out...


In reply to Re (tilly) 1: program design language - a reality? by tilly
in thread program design language - a reality? by ailie

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 taking refuge in the Monastery: (6)
As of 2024-04-19 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found