Ruby jargon and slang

I’m assembling a list of Ruby community “usages” and I want to make
sure I haven’t missed anything important.

I have such things as: duck typing, threequal, spaceship operator,
singleton method, singleton class, splat or unary unarray,
multiple or parallel assignment, and (ehh) eigenclass.

Not all usages are considered official or will necessarily be
treated equally.

Terms that are extremely common outside our community and are used
identically can probably be omitted from the list.

Anyone?

Hal

On 2006.02.06 10:58, Hal F. wrote:

I’m assembling a list of Ruby community “usages” and I want to make
sure I haven’t missed anything important.

I have such things as: duck typing, threequal, spaceship operator,
singleton method, singleton class, splat or unary unarray,
multiple or parallel assignment, and (ehh) eigenclass.

‘threequal’ == ===? I call it the sort-of-matches-operator but
I assume that is just me.

Not all usages are considered official or will necessarily be
treated equally.

Terms that are extremely common outside our community and are used
identically can probably be omitted from the list.

Anyone?

Hal

E

Hal F. wrote:

Terms that are extremely common outside our community and are used
identically can probably be omitted from the list.

Anyone?

um… the push operator <<

some folks call it the less-than-less-than thing, but that seems soo
long.

Zach

zdennis wrote:

um… the push operator <<

some folks call it the less-than-less-than thing, but that seems soo long.

Noted. I usually call it the append operator.

Hal

Hal F. wrote:

zdennis wrote:

um… the push operator <<

some folks call it the less-than-less-than thing, but that seems soo
long.

Noted. I usually call it the append operator.

In C++, it’s often called the insertion operator. I have been thinking
of it as such in Ruby.

zdennis wrote:

Terms that are extremely common outside our community and are used
identically can probably be omitted from the list.

Anyone?

um… the push operator <<

Isn’t that the bit shift operator? :slight_smile:

some folks call it the less-than-less-than thing, but that seems soo
long.

robert

Chunky Bacon isn’t jargon, it’s a battle cry.

Quoting Hal F. [email protected]:

I’m assembling a list of Ruby community “usages” and I want to
make sure I haven’t missed anything important.

I have such things as: duck typing, threequal, spaceship
operator, singleton method, singleton class, splat or unary
unarray, multiple or parallel assignment, and (ehh) eigenclass.

You’ve neglected chunky bacon.

-mental

Dirk M. wrote:

2006/2/6, Daniel N. [email protected]:

Chunky Bacon isn’t jargon, it’s a battle cry.

should be in there anyway :wink:

What is it?

I mean, besides a shibboleth.

On Feb 6, 2006, at 13:58, Jeffrey S. wrote:

Hal F. wrote:

zdennis wrote:

um… the push operator <<

some folks call it the less-than-less-than thing, but that seems
soo long.
Noted. I usually call it the append operator.

In C++, it’s often called the insertion operator. I have been
thinking of it as such in Ruby.

So, if it operates like a duck…

2006/2/6, Daniel N. [email protected]:

Chunky Bacon isn’t jargon, it’s a battle cry.

should be in there anyway :wink:

Matthew S. wrote:

Noted. I usually call it the append operator.

In C++, it’s often called the insertion operator. I have been
thinking of it as such in Ruby.

So, if it operates like a duck…

Exactly.

I never understand why people think of duck typing as being unique to
dynamic languages. C++ has great support for static, generic
programming, and a lot of what Ruby does at run-time, C++ can do at
compile-time.

Of course, Ruby has plenty of advantages of its own. :slight_smile:

James B. wrote:

What is it?

I mean, besides a shibboleth.

Nothing more, I’d guess.

“Shibboleth” is also a shibboleth, I guess. Rather
self-referential.

Hal

Hal F. wrote:

self-referential.
Good catch!


James B.

“Blanket statements are over-rated”

Hal F. [email protected] wrote:

“Shibboleth” is also a shibboleth, I guess. Rather
self-referential.

More etymology than self-reference - “a shibboleth” is simply a word
that fulfils the same role “shibboleth” did in its original context.

martin

On Feb 7, 2006, at 4:58 AM, Martin DeMello wrote:

Hal F. [email protected] wrote:

“Shibboleth” is also a shibboleth, I guess. Rather
self-referential.

More etymology than self-reference - “a shibboleth” is simply a word
that fulfils the same role “shibboleth” did in its original context.

martin

Everytime I see “shibboleth” all I can think of is HP Lovecraft.

ph’nglui mglw’nafh Cthulhu R’lyeh wgah’nagl fhtagn

DÅ?a Utorok 07 Február 2006 01:22 Matthew S. napísal:

So, if it operates like a duck…

So, from duck typing, we’ve come to duck surgery? shudder

VOTE ME for worst pun ever.

David V.

On Feb 6, 2006, at 2:58 AM, Hal F. wrote:

I’m assembling a list of Ruby community “usages” and I want to make
sure I haven’t missed anything important.

Bang methods, like Array#reject!.

– Daniel

David V. wrote:

DÅ?a Utorok 07 Február 2006 01:22 Matthew S. napísal:

So, if it operates like a duck…

So, from duck typing, we’ve come to duck surgery? shudder

They don’t call those doctors “quacks” for nothing.

Dan

On Feb 7, 2006, at 20:10, Daniel H. wrote:

On Feb 6, 2006, at 2:58 AM, Hal F. wrote:

I’m assembling a list of Ruby community “usages” and I want to make
sure I haven’t missed anything important.

Bang methods, like Array#reject!.

Which reminds me, the #-notation for methods would make a good
inclusion if it’s not already there.