|
On Mar 25, 2024, at 12:15 PM, Brad Stone <bvstone@xxxxxxxxx> wrote:
I love my parens.... :)
if x = y or x = 2
icky...
some might prefer
if (x = y) or (x = 2)
I actually like
if ((x = y) or (x = 2))
I think it was my logic professor in college that drilled into me "you can
never have too many parens" haha.. which of course didn't apply when I
started programming with RPG.. until RPGIV and now free format.
On Mon, Mar 25, 2024 at 10:40 AM James H. H. Lampert via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:
On 3/24/24 9:07 PM, Joe Pluta wrote:--
Ah, LISP!// If you programmed MIDI devices in the 80s, LISP was what you
used. So... many... parentheses!
Yes. "Lots of Irritating Silly Parentheses." And note that LISP, like
APL, Forth, and Smalltalk, is a "workspace-oriented" language.
There's one particularly memorable s-expression from the "Blocks World"
exercise in the textbook we used:
(CLUTTER CLUTTER (CDR CLUTTER))
(this, as I recall, removed any obstacles that might be blocking a
requested move.)
Another thing that I noticed on my own (and most others evidently
didn't) that a "list" was either the reserved atom NIL, or a dotted-pair
in which the CDR was a simpler list.
--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.