🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.functional
Article #732

Re: "Off-side rule"

#732
From: Friendless
Date: Mon, 14 Jan 1991 04:35
15 lines
1323 bytes
In <ACHA.91Jan11151418@DRAVIDO.CS.CMU.EDU> acha@CS.CMU.EDU (Anurag Acharya) writes:
>What is the justification for this "off-side" rule ? The idea of whitespace 
>having semantics is a potential source of inscrutable bugs and, frankly 
>speaking, seems to go against the grain of modern programming language
>design. 

  It is unusual, but it works. Since I am an obsessed with correct
indentation, it rarely causes me problems - usually only when I have changed
an identifier name on the first line of a definition, which moves the text and
mucks up the lining up of something below it. However, in those cases Miranda
says "Unexpected token: OFFSIDE" and I know what to fix. I find Miranda a
delight to program in.


John
Technical Details
Message-ID: <6746@uqcspe.cs.uq.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!brolga!uqcspe!batserver.cs.uq.oz.au!farrell
References: <22307@rouge.usl.edu> <1991Jan10.111559.12440@odin.diku.dk> <27793.278c3bb0@kuhub.cc.ukans.edu> <1991Jan11.100048.3121@odin.diku.dk> <ACHA.91Jan11151418@DRAVIDO.CS.CMU.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!brolga!uqcspe!batserver.cs.uq.oz.au!farrell
From: farrell@batserver.cs.uq.oz.au (Friendless)
Newsgroups: comp.lang.functional
Subject: Re: "Off-side rule"
Message-ID: <6746@uqcspe.cs.uq.oz.au>
Date: 14 Jan 91 04:35:09 GMT
References: <22307@rouge.usl.edu> <1991Jan10.111559.12440@odin.diku.dk>  <27793.278c3bb0@kuhub.cc.ukans.edu>  <1991Jan11.100048.3121@odin.diku.dk> <ACHA.91Jan11151418@DRAVIDO.CS.CMU.EDU>
Sender: news@uqcspe.cs.uq.oz.au
Reply-To: farrell@batserver.cs.uq.oz.au
Lines: 15