Article View: comp.lang.misc
Article #4370Re: Readable Perl (was: Re: Relative Speed of Perl vs. Tcl vs. C)
From: Jiri Baum
Date: Wed, 28 Feb 1996 01:14
Date: Wed, 28 Feb 1996 01:14
66 lines
3043 bytes
3043 bytes
-----BEGIN PGP SIGNED MESSAGE----- Jan-Pieter Cornet (johnpc@xs4all.nl) wrote: ... [discussion about best readable language] ... > No, you got it all totally wrong. I think this is the best readable > (in Tri-INTERCAL): ... [INTERCAL code snipped - 43 lines to count to 10 nicely] ... > Anyone else will simply be too scared to touch this code. So you can be > pretty sure nobody changes it behind your back. ... I report changing it to count to 15, but I guess that's a trivial change. Similarly boring is to have it get the limit from stdin... ... > In fact, you can be pretty sure you won't change it either after you > wrote it, because you will probably have forgotten how the program > works 5 minutes after you wrote it. So any luser nagging for extra > features afterwards, is SOL. ... Could you change it to count in decimal? Please? Pretty please? ... > The other major advantage is... the above code took me about 3 hours > to write. Compare this to the 10 to 30 seconds it takes to write a ... And making one that counts in decimal is likely to take much longer still. ... > PS: this article contains some strange usage of the words "best readable" > that you probably weren't previously aware of :) ... One thing I like about INTERCAL (any variant) is that it's the only language I can think of where a program may legally have the words DON'T PANIC at the top in large friendly letters. ... > Linux -- "It's computing, Jim, but not as we know it" ... Hmm, I wonder if the same goes for INTERCAL :-) Jiri - -- /-----\ <jirib@cs.monash.edu.au> | | | <jiri@melb.dialix.oz.au> | | | PGP 463A14D5 (normal key) | / | PGP EF0607F9 (low security key) \-----/ -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMTOsaixV6mvvBgf5AQE3OgP/VIF0oiBMDkTKGCY63oTdWUEdqEBVbKqQ AEjo2GkWgmngd/TykaCyWEfy2YcqW6bZhI8RJLpYCCAlg9UEljsUgqFIJc8tbvui LUhDIAGw+CxMInGcQmgBFTi/LLoCzJJZec3xtL3TUSNmDq3k2QQbABQoosYCJLx8 NASIlVSsfJU= =ucZl -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<4h0aa3$dpl@harbinger.cc.monash.edu.au>Path:
arc1-ca.pugleaf.net!bruce.cs.monash.edu.au!not-for-mailReferences:
<4e3a2u$eoa@wcap.centerline.com> <ukd97hwzkc.fsf_-_@linda.teleport.com> <4gb3kp$lu7@gaia.ns.utk.edu> <4ge7bk$4vq@news.ox.ac.uk> <4gtr64$s7h@news.xs4all.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!bruce.cs.monash.edu.au!not-for-mail From: jirib@bruce.cs.monash.edu.au (Jiri Baum) Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java,alt.lang.intercal Subject: Re: Readable Perl (was: Re: Relative Speed of Perl vs. Tcl vs. C) Followup-To: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java,alt.lang.intercal Date: 28 Feb 1996 01:14:43 GMT Organization: Monash University Message-ID: <4h0aa3$dpl@harbinger.cc.monash.edu.au> References: <4e3a2u$eoa@wcap.centerline.com> <ukd97hwzkc.fsf_-_@linda.teleport.com> <4gb3kp$lu7@gaia.ns.utk.edu> <4ge7bk$4vq@news.ox.ac.uk> <4gtr64$s7h@news.xs4all.nl> NNTP-Posting-Host: molly.cs.monash.edu.au X-NNTP-Posting-User: jirib X-Newsreader: TIN [UNIX 1.3 950823BETA PL0]