in reply to An Introduction to Literate Programming with perlWEB
The sort of documentation provided in the example seems like it would be useful in a CS101 course.
However as others have mentioned, completely impractical in any realistic situation
With that level of documentation, almost anybody could understand what the code is trying to do. However the documentation is pandering to people who do not have the capability of writing code at the expense of those who do.
Documentation is a tricky thing; you must explain for those who may not be familiar with the specific thing you are doing. But you must also not hinder those who do know what they are doing. People who do not know what a main function or variable declaration is are not part of the target demographic at all.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: An Introduction to Literate Programming with perlWEB
by Anonymous Monk on Jan 15, 2009 at 18:37 UTC | |
by SuicideJunkie (Vicar) on Jan 17, 2009 at 08:27 UTC |