Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

RE: RE: Prgramming vs. Coding

by chromatic (Archbishop)
on Oct 09, 2000 at 07:12 UTC ( #35875=note: print w/replies, xml ) Need Help??

in reply to RE: Prgramming vs. Coding
in thread Prgramming vs. Coding

Indeed, that sounds very much like Knuth's literate programming (see Google if you're supremely curious) technique.

Disciplined adherance to this approach guarantees that the documentation and code will always remain in synch. However, it often does require that a separate program separate (heh) the code from the comments before compilation.

POD has certain elements of this (but it's definitely not the same). Javadoc is a little closer.

The only person I've seen who really does this is Andrew Johnson, in Elements of Programming with Perl.

In my opinion, it's more valuable on big projects, but it's a good technique when you're stuck on a problem and need to break it down before you can write code.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2023-09-25 15:29 GMT
Find Nodes?
    Voting Booth?

    No recent polls found