[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

New Singleton Class Word-of-the-Month ;-

Trans

1/23/2007 5:53:00 PM

This months word:

quin·tes·sence

>From Merriam-Webster:

Main Entry: quin·tes·sence
Pronunciation: kwin-'te-s&n(t)s
Function: noun
Etymology: Middle English, from Middle French quinte essence, from
Medieval Latin quinta essentia, literally, fifth essence
1 : the fifth and highest element in ancient and medieval philosophy
that permeates all nature and is the substance composing
the celestial bodies
2 : the essence of a thing in its purest and most concentrated form
3 : the most typical example or representative <the quintessence of
calm>
- quin·tes·sen·tial /"kwin-t&-'sen(t)-sh&l/ adjective
- quin·tes·sen·tial·ly adverb

Seriously though, what was the concensus (and matz your take) on Dave
Thomas' idea, and the related term #customization and the #customize
method?

Thanks,
T.


9 Answers

Gavin Kistner

1/23/2007 6:27:00 PM

0

Trans wrote:
> This months word:
>
> quin·tes·sence

a) LOL @ your topic :)
b) Too long

> 3 : the most typical example or representative <the quintessence of
> calm>

c) The most typical example or representative of an instance is its
class, IMO; the eigenclass (I'm trying to get used to the word since
Matz is leaning that way) is a special case.

Paulus Esterhazy

1/24/2007 11:26:00 AM

0

Trans

1/24/2007 6:16:00 PM

0



On Jan 24, 6:25 am, Paulus Esterhazy <pesterh...@gmx.net> wrote:
> Phrogz schrieb: > Trans wrote: >> This months word:
> >>
> >> quin·tes·sence
> >
> > a) LOL @ your topic :)
> > b) Too long
> >
> >> 3 : the most typical example or representative <the quintessence of
> >> calm>
> >
> > c) The most typical example or representative of an instance is its
> > class, IMO; the eigenclass (I'm trying to get used to the word since
> > Matz is leaning that way) is a special case.
> >
> >
> >
>
> If it's only too long, try:
>
> quiddity
> haecceity
>
> http://dictionary.reference.com/search?r=2&q...

Awsome words, dude! I espcailly like the haecceity.

Instead of a singleton class we can call it a haecceion class
[pronouned hek-see-on] :-)

T.


Joel VanderWerf

1/24/2007 8:00:00 PM

0

Paulus Esterhazy wrote:
> Phrogz schrieb:
> > Trans wrote:
> >> This months word:
> >>
> >> quin·tes·sence
> >
> > a) LOL @ your topic :)
> > b) Too long
> >
> >> 3 : the most typical example or representative <the quintessence of
> >> calm>
> >
> > c) The most typical example or representative of an instance is its
> > class, IMO; the eigenclass (I'm trying to get used to the word since
> > Matz is leaning that way) is a special case.
> >
> >
> >
>
> If it's only too long, try:
>
> quiddity
> haecceity
>
> http://dictionary.reference.com/search?r=2&q...

Not bad. It probably doesn't run the risk of conflicting with any prior
use of those words in a ruby context!

If we're golfing... how about "qua"?

Meaning, "in the capacity of". (http://en.wiktionary.or...)

It's a bit of a stretch, I admit. We'd use it like this:

"I added a #size method to the qua-class of my object, so you can use it
in your library that needs #size."

This is a way of saying that my object acts in the capacity of a sized
object.

And then we have a fun bogus etymology for "qua-ck". We can use quack as
the verb form of qua:

"The object quacks #size, because #size is defined in its qua-class"

0.02% serious.

--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

Trans

1/25/2007 12:36:00 AM

0



On Jan 24, 2:59 pm, Joel VanderWerf <v...@path.berkeley.edu> wrote:
> Paulus Esterhazy wrote:
> > Phrogz schrieb:
> > > Trans wrote:
> > >> This months word:
>
> > >> quin·tes·sence
>
> > > a) LOL @ your topic :)
> > > b) Too long
>
> > >> 3 : the most typical example or representative <the quintessence of
> > >> calm>
>
> > > c) The most typical example or representative of an instance is its
> > > class, IMO; the eigenclass (I'm trying to get used to the word since
> > > Matz is leaning that way) is a special case.
>
> > If it's only too long, try:
>
> > quiddity
> > haecceity
>
> >http://dictionary.reference.com/search?r=2&q=ha... bad. It probably doesn't run the risk of conflicting with any prior
> use of those words in a ruby context!
>
> If we're golfing... how about "qua"?
>
> Meaning, "in the capacity of". (http://en.wiktionary.or...)
>
> It's a bit of a stretch, I admit. We'd use it like this:
>
> "I added a #size method to the qua-class of my object, so you can use it
> in your library that needs #size."
>
> This is a way of saying that my object acts in the capacity of a sized
> object.
>
> And then we have a fun bogus etymology for "qua-ck". We can use quack as
> the verb form of qua:
>
> "The object quacks #size, because #size is defined in its qua-class"

Would you believe...

require 'facets/core/kernel/qua_class' (version 1.8)

Great minds think alike ;-)

T.


Joel VanderWerf

1/25/2007 4:27:00 AM

0

Trans wrote:
>
> On Jan 24, 2:59 pm, Joel VanderWerf <v...@path.berkeley.edu> wrote:
...
>> "The object quacks #size, because #size is defined in its qua-class"
>
> Would you believe...
>
> require 'facets/core/kernel/qua_class' (version 1.8)
>
> Great minds think alike ;-)

Which can be deduced from the fact that we quack alike ;)

I must have remembered seeing qua_class somewhere. I'm still 0.02%
serious about it.

--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

Daniel Schierbeck

1/25/2007 12:48:00 PM

0

On Wed, 2007-01-24 at 02:53 +0900, Trans wrote:
> This months word:
>
> quin·tes·sence
>
> >From Merriam-Webster:
>
> Main Entry: quin·tes·sence
> Pronunciation: kwin-'te-s&n(t)s
> Function: noun
> Etymology: Middle English, from Middle French quinte essence, from
> Medieval Latin quinta essentia, literally, fifth essence
> 1 : the fifth and highest element in ancient and medieval philosophy
> that permeates all nature and is the substance composing
> the celestial bodies
> 2 : the essence of a thing in its purest and most concentrated form
> 3 : the most typical example or representative <the quintessence of
> calm>
> - quin·tes·sen·tial /"kwin-t&-'sen(t)-sh&l/ adjective
> - quin·tes·sen·tial·ly adverb
>
> Seriously though, what was the concensus (and matz your take) on Dave
> Thomas' idea, and the related term #customization and the #customize
> method?
>
> Thanks,
> T.

Perhaps a bit too long, although it's more concise than `class << self;
self; end'. I quite favor `behavior', since that's really what it is; a
container for an object's behavior.


Cheers,
Daniel Schierbeck


Trans

1/25/2007 12:56:00 PM

0


On Jan 24, 11:26 pm, Joel VanderWerf <v...@path.berkeley.edu> wrote:
> I must have remembered seeing qua_class somewhere. I'm still 0.02%
> serious about it.

0.02% + 0.02% = 0.04%.

Only 2498 people to go l-)

t.


Trans

1/25/2007 1:03:00 PM

0



On Jan 25, 7:48 am, Daniel Schierbeck <daniel.schierb...@gmail.com>
wrote:

> Perhaps a bit too long, although it's more concise than `class << self;
> self; end'. I quite favor `behavior', since that's really what it is; a
> container for an object's behavior.

Right. that's sort of the reasoning I think Dave Thomas was suggesting.
Howver "behavior" is a little too generic b/c the regular class of an
object also defines behavior.

Although it is even longer, that's why I felt #customization was a
better fit, with #customize as a nice shortcut for
customization.class_eval.

T.