0
Usenet Posted 22 years ago
Usage

Programmer use of "stanza"

Over on comp.lang.tcl I've noticed that posters sometimes use "stanza" (16 Google hits) rather than the traditional "snippet" (1,110 hits) when referring to a short piece of code. "Stanza" seems very appropriate to me, especially given the clarity and expressiveness possible in the Tcl language. Here are some representative uses, courtesy of :

"FWIW, I tend to use a code stanza somewhat like the following when I've got a complex invokation to handle." Donal K. Fellows

"That stanza is basically a workaround for a misfeature of the (namespace import) command." Don Porter
"And the sad part is, it does so right before a stanza that works in other scripts!" leam
Another playful expression that appeals to me is their name for Tcl's 11 syntax rules: the Endekalogue.
  

Top answer

tcl I've noticed that posters sometimes use "stanza" (16 Google hits) rather than the traditional "snippet" (1,110 hits) when referring to a short piece of code. [/nq] I can't answer your question, but can tell you that in my almost 20 years of programming I've never used the word "stanza" in the context mentioned. I've always said "snippet" and imagine I always will!

  • tcl I've noticed that posters sometimes use "stanza" (16 Google hits) rather than the traditional "snippet" (1,110 hits) when referring to a short piece of code.
  • [/nq] I can't answer your question, but can tell you that in my almost 20 years of programming I've never used the word "stanza" in the context mentioned.
  • I've always said "snippet" and imagine I always will!
  • com/SPECIALS/2003/iraq/forces/casualties
Free · every Monday

Get the Weekly English Kit 📬

New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.

9 Answers
0
[nq:1]Over on comp.lang.tcl I've noticed that posters sometimes use "stanza" (16 Google hits) rather than the traditional "snippet" (1,110 hits) when referring to a short piece of code. "Stanza" seems very appropriate to me, especially given the clarity and expressiveness possible in the Tcl language.[/nq]
I can't answer your question, but can tell you that in my almost 20 years of programming
0
LinuxSaves typed thus:
[nq:2]Over on comp.lang.tcl I've noticed that posters sometimes use "stanza" ... given the clarity and expressiveness possible in the Tcl language.[/nq]
[nq:1]I can't answer your question, but can tell you that in my almost 20 years of programming I've never used the word "stanza" in the context mentioned. I've always said "snippet" and imagine I always will![/nq]
0
[nq:1]LinuxSaves typed thus:[/nq]
[nq:2]I can't answer your question, but can tell you that ... mentioned. I've always said "snippet" and imagine I always will![/nq]
[nq:1]Hmm. In my 30 years of programming I have never said either. If required to use a word, I think I would say "fragment". Must be pondian.[/nq]
I don't know! Which side of the pond are you on? I'm in the US.

A
0
LinuxSaves typed thus:
[nq:2]LinuxSaves typed thus: Hmm. In my 30 years of programming ... word, I think I would say "fragment". Must be pondian.[/nq]
[nq:1]I don't know! Which side of the pond are you on? I'm in the US.[/nq]
Sorry, I'm in Rightpondia.
[nq:1]Aside from 'snippet' I also say 'block,' but in a somewhat different context. If I'm talking about some code that, ... or pri
0
+ + + + + + +
[nq:2]LinuxSaves typed thus: I can't answer your question, but can ... mentioned. I've always said "snippet" and imagine I always will![/nq]
In my 80 years of programming I've used only the words "jot" or "tittle".
0
[nq:2]Hmm. In my 30 years of programming I have never ... word, I think I would say "fragment". Must be pondian.[/nq]
[nq:1]In my 80 years of programming I've used only the words "jot" or "tittle".[/nq]
80 years, eh? I'm impressed that you started programming beforecomputers were even invented! ;-)

Clever stuff: www.cafepress.com/saproducts
Bush or chimp? See the similarities!
0
LinuxSaves typed thus:
[nq:2]In my 80 years of programming I've used only the words "jot" or "tittle".[/nq]
[nq:1]80 years, eh? I'm impressed that you started programming before computers were even invented! ;-)[/nq]
I was taught at Manchester by Tom Kilburn, who could lay claim to having written the first program for a stored program electronic computer. That was in June 1948.
0
[nq:2]In my 80 years of programming I've used only the words "jot" or"tittle".[/nq]
[nq:1]80 years, eh? I'm impressed that you started programming before computers were even invented! ;-)[/nq]
Back then, computers weren't invented, they were born.
0
[nq:1]Over on comp.lang.tcl I've noticed that posters sometimes use "stanza" (16 Google hits) rather than the traditional "snippet" (1,110 hits) ... scripts!" leam Another playful expression that appeals to me is their name for Tcl's 11 syntax rules: the Endekalogue.[/nq]
Yes, but what language are those posters writing in :-)

Jim

Related Questions