Anyone use PDL?
Code Complete, by Steve McConnell, recommends the use of a meta language called PDL when designing functions. My question is, do any of you JOS people use PDL on a regular basis? If so, what's your experience with it? Do you find it helpful? Do you find it invaluable? Do you find it a waste of time forced upon you by your overbaring manager?
I do, but not as much as in the dark days of structured programming, mostly as a revolt against the horrors of Jackson.
An ex-colleague of mine had an interesting technique. He wrote high level pseudo code (not PDL) explaining how the problem was to be solved, added comment characters (e.g. // or /* ... */) and then wrote his code in the same file. Not only did he achieve whatever clarity of thinking he was aiming for with his pseudo code he also documented his code at the same time.
It's been a while since I read Code Complete, but my memory of PDL is simply that it eventually acts as comments in the code; for example:
Fog Creek Home