From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,4c42ac518eba0bbe X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,4c42ac518eba0bbe X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,4c42ac518eba0bbe X-Google-Attributes: gid1014db,public From: "ISONE" Subject: Re: Coding for Obscurity Date: 1997/12/01 Message-ID: <65v6g9$ol@news.isone.com>#1/1 X-Deja-AN: 294298967 References: <343fbb5a.0@news.iprolink.ch> <34466EB4.3381@dynamite.com.au> <6275dt$agm$3@news.on> <344BCED0.2D51@dynamite.com.au> <62tpap$7gh$1@darla.visi.com> <3470EF6E.F74@lysator.liu.se> <64qsf0$ccc@dfw-ixnews11.ix.netcom.com> <3474BF28.2F9F@dynamite.com.au> <34741AAF.1C7@CWA.de> <34788101.7367@scitex.com> <01bcf8fc$e918e0a0$0644a3cd@jimj.jumpmusic.com> <3479F8FB.2D7F@mWilden.com> <65fr08$vtu$1@flood.weeg.uiowa.edu> <348c28b5.165149330@news.wxs.nl> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: Susalka & Vinecombe, Inc. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1997-12-01T00:00:00+00:00 List-Id: BLISS is similar. All valid blocks of code have value or evaluate to a value. x = if .y eq .z then .a else .b; is a valid statement... x now containing the value pointed to by b. (Assuming I remember the nuances of my BLISS syntax :) m.s.jessop > >Algol 68 extended this to case-expressions like b[case i in 6, 3 out 4 >esac] := false, and allowed if then else and fi to be abbreviated to >(, |, |, ), giving either: > >x := if i>0 then y else z fi; > >or > >x := ( i>0 | y | z ); > >In CPL and later BCPL the conditional expression was also abbreviated, >as in: > >x := i>0 -> y , z; > >This was changed to > >x = i>0 ? y : z; > >in B, so the K in K&R you mention above is actually Ken Thompson. >This syntax was maintained unaltered in C. > > >== >Miguel Carrasquer Vidal ~ ~ >Amsterdam _____________ ~ ~ >mcv@wxs.nl |_____________||| > >========================== Ce .sig n'est pas une .cig