
12 Feb
2001
12 Feb
'01
4:48 a.m.
On Mon, 12 Feb 2001 malcolm-hs@cs.york.ac.uk wrote:
Well, I frequently use end-of-line comments for blocking out dead code. And this often ends up in exactly the place where a documentation comment might occur, for instance:
myFunctionF x y z = -- map (g . unlines . f . lines . something) (z x) -- is this wrong? map (f . unlines . g . lines . something) (z x)
No, this is not wrong but one could argue that the dead code shouldn't be present in the final version of source code. And, as a side effect, an interface tool could help you with finding such things. Jan