layout rule infelicity
Johannes Waldmann
joe@isun.informatik.uni-leipzig.de
Thu, 30 May 2002 13:10:03 +0200 (MET DST)
> What's the deal with the whole "layout" thing anyway? I've never come
> across it before in another language.
Python has it as well (they stole it from Haskell?)
> If I were teaching Haskell to "working programmer" types like myself, I
> would encourage them to always use full semicolons and braces ...
while we're at it - what's the deal with type inference?
sometimes I think it is *really bad* language design
if the program may contain untyped declarations of identifiers.
ghc -Wall warns nicely about undeclared top-level types but what about locals?
I've never came across a language that would allow them declared untyped.
of course I know (some of) the `academic' background
(type inference, type checking) but what about it
from a software engineering point of view?
\end{rant}
.. I think neither the layout rule nor type inferencing
are likely to disappear from Haskell ..
--
-- Johannes Waldmann ---- http://www.informatik.uni-leipzig.de/~joe/ --
-- joe@informatik.uni-leipzig.de -- phone/fax (+49) 341 9732 204/252 --