Author Topic: Pronouncing AutoLISP  (Read 9062 times)

0 Members and 1 Guest are viewing this topic.

Sdoman

  • Guest
Pronouncing AutoLISP
« on: July 17, 2006, 03:12:04 PM »
Just for geeky fun, how do you pronounce these AutoLisp function names when your reading code to yourself? 

cdr
cadr
lambda
logior
lsh
princ
progn
terpri

Here's what I've been using:

Cdr: I use to pronounce C-D-R, but a book I've been reading says that the correct pronunciation is Coulder.

Cadr: C-A-D-R or should that be Car-Coulder?

Lambda:  Lamb-duh?

Logior: Log-gee-or?

Lsh: I have no idea.  Never used this anyway but is an interesting pronunciation challenge.

Princ: Prince or Prin-Cee?

Progn: Prog-N or Prog-Nin?

Terpri: Terminal-Print?





MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Pronouncing AutoLISP
« Reply #1 on: July 17, 2006, 03:59:47 PM »
These are more the way I hear 'em in my head --

cdr    • could-rrr
cadr   • cad-rrr
lambda • bleet, bleet
logior • log-i-orrr
lsh    • left shift (true story)
princ  • prin-see
progn  • prog-n
terpri • ter-pri


Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

CADaver

  • Guest
Re: Pronouncing AutoLISP
« Reply #2 on: July 17, 2006, 04:36:02 PM »
cdr    • C-D-R
cadr   • cad-rrr
lambda • lamb-duh
logior • log-Eyor (as in Pooh's donkey friend)
lsh    • lish (short I, rhymes with FISH)
princ  • prin-see ("See, there it prints".)
progn  • proggin' (rhymrs with noggin')
terpri • ter-print

« Last Edit: July 17, 2006, 04:37:18 PM by CADaver »

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Pronouncing AutoLISP
« Reply #3 on: July 17, 2006, 04:46:59 PM »
I have to admit first that I don't read whole words most of the time, so I make up words for things.

cdr = c-d-r
cadr = cad-r
lambda = lam-ba-da (like the dance)
logior = log-i-or
lsh = lish (I guess I would use)
princ = prince
progn = pro-nog
terpri = tear-pre
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Pronouncing AutoLISP
« Reply #4 on: July 17, 2006, 05:43:34 PM »
Same as MP except for the bleet, bleet .. lamb-dah
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Pronouncing AutoLISP
« Reply #5 on: July 17, 2006, 05:59:22 PM »
cdr = c-d-r
cadr = c-a-d-r
lambda = lamb-dah
logior = logical-or
lsh = logical-shift
princ = print-c
progn = pro-gen
terpri = tera-print
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Sdoman

  • Guest
Re: Pronouncing AutoLISP
« Reply #6 on: July 18, 2006, 08:39:56 AM »
The functions CDR, CADR, CADDR, etc,  are the most awkward for me to read as a word.  That's why I just spell them out C-D-R, C-A-D-R.  I've never really been happy with that pronunciation however.  COULDER seems even more awkward to me. 

It finally dawned on me that LAMBDA is from the Greek alphabet.

Logical shift make sense

Print-see or Print-cee sounds good.  But I wonder what the "C" is for?  Where is Print-A and Print-B?

I guess the "N" in Progn confused me.  Group N lines?

Since programming languages are read often yet rarely spoken, it is interesting to see what pronunciation people use while reading to themselves.  Thanks for replies.


Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: Pronouncing AutoLISP
« Reply #7 on: July 18, 2006, 09:25:24 AM »
Great thread!

How about these?

atof  = a-t-o-f
getkword = get key word *yawn*
itoa = i-t-o-a

and don't even try the vl- and vlax- functions! :-)


Quote from: MP
lambda • bleet, bleet
What the ... :-)
TheSwamp.org  (serving the CAD community since 2003)

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Pronouncing AutoLISP
« Reply #8 on: July 18, 2006, 09:31:29 AM »
Quote from: MP
lambda • bleet, bleet
What the ... :-)



:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Sdoman

  • Guest
Re: Pronouncing AutoLISP
« Reply #9 on: July 18, 2006, 12:56:12 PM »

Great thread!

How about these?

atof  = a-t-o-f
getkword = get key word *yawn*
itoa = i-t-o-a


atof  = perhaps it would have been more appropriate for the authors of AutoLISP to have named this function stor for string-to-real

itoa = likewise, itos for integer-to-string would have been better imo.


LE

  • Guest
Re: Pronouncing AutoLISP
« Reply #10 on: July 18, 2006, 01:06:58 PM »
atof  = perhaps it would have been more appropriate for the authors of AutoLISP to have named this function stor for string-to-real

itoa = likewise, itos for integer-to-string would have been better imo.

Maybe, maybe, something like this (note: before you use the code below, make sure you are using a test drawing):  :-)

Code: [Select]
(pragma '((unprotect-assign stor)))
(setq stor atof)
(pragma '((protect-assign stor)))

(pragma '((unprotect-assign atof)))
(setq atof nil)

Then in the command line:

Quote
Command: (stor "3")
3.0
« Last Edit: July 18, 2006, 01:08:15 PM by LE »

Sdoman

  • Guest
Re: Pronouncing AutoLISP
« Reply #11 on: July 18, 2006, 03:02:30 PM »
That's cool LE.  I wasn't aware of the unprotect-assign function.  As an example it's interesting.  Of course, if someone was to redefine native lisp functions, they would break any old code that expects those functions to exist. 

Pragma : Prag-Ma

Bob Wahr

  • Guest
Re: Pronouncing AutoLISP
« Reply #12 on: July 18, 2006, 03:07:19 PM »
atof  = perhaps it would have been more appropriate for the authors of AutoLISP to have named this function stor for string-to-real

itoa = likewise, itos for integer-to-string would have been better imo.
Does list use s for something other than string like maybe Single?

LE

  • Guest
Re: Pronouncing AutoLISP
« Reply #13 on: July 18, 2006, 03:11:57 PM »
That's cool LE.  I wasn't aware of the unprotect-assign function.  As an example it's interesting.  Of course, if someone was to redefine native lisp functions, they would break any old code that expects those functions to exist. 

Pragma : Prag-Ma

I never had tried.... but I would guess that if you saved your routine inside of a protected namespace VLX, it might work....

Actually by simple calling:

Code: [Select]
(pragma '((unprotect-assign stor)))
(setq stor atof)
(pragma '((protect-assign stor)))

And kept the built-in functions alone....
« Last Edit: July 18, 2006, 03:19:27 PM by LE »

Sdoman

  • Guest
Re: Pronouncing AutoLISP
« Reply #14 on: July 18, 2006, 03:18:41 PM »
Does lisp use s for something other than string like maybe Single?

Bob: Not that I know of.  But then, I don't know it all :)

I never had tried.... but I would guess that if you saved your routine inside of a protected namespace VLX, it might work....

Good point Luis!