R
Rene
Stephen Kellett said:Code documents what the code does. That isn't much use - you need to
know what the code is meant to do - that is what comments and
documentation are for. Which is why "code is self documenting" is very
poor software engineering attitude to take - it shows you don't
understand a fundamental insight about writing and maintaining reliable
code.
Sorry, I should have stripped the "self" above, it was meant more or less
as a joke with a little factoid (it documents the writer's abilities)
attached to it. Probably should have added more smilies.
I'm with you on this matter. Interference in multi-threaded programs -
which essentially all java programs are - is quite hard to document, with
or without any help from the language.
People teaching comp sci. are obviously not teaching something simple
but fundamental when we keep seeing this nonsense about code being self
documenting. Sigh.
That may vary highly from school to school.
CU
René