Ruby jargon and slang


#1

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


#2

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


#3

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


#4

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


#5

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.


#6

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

#7

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


#8

Quoting Hal F. removed_email_address@domain.invalid:

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


#9

Dirk M. wrote:

2006/2/6, Daniel N. removed_email_address@domain.invalid:

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

should be in there anyway :wink:

What is it?

I mean, besides a shibboleth.


#10

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…


#11

2006/2/6, Daniel N. removed_email_address@domain.invalid:

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

should be in there anyway :wink:


#12

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:


#13

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


#14

Hal F. wrote:

self-referential.
Good catch!


James B.

“Blanket statements are over-rated”


#15

Hal F. removed_email_address@domain.invalid 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


#16

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

Hal F. removed_email_address@domain.invalid 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


#17

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.


#18

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


#19

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


#20

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.