Interfaces and semantics (or, how to hashpipe a duck)

D

David A. Black

I will when I have a suitable alternative.

Since Interface is already the name of a Ruby library, pretty much any
other word (as long as it doesn't similarly shadow an existing
package) is automatically more suitable than Interface.

"Interfaces" and "Interfacer" come to mind -- not plum names, perhaps,
but (as far as I know) unambiguous and unclaimed in Ruby-space.


David
 
A

Ara.T.Howard

Since Interface is already the name of a Ruby library, pretty much any
other word (as long as it doesn't similarly shadow an existing
package) is automatically more suitable than Interface.

"Interfaces" and "Interfacer" come to mind -- not plum names, perhaps,
but (as far as I know) unambiguous and unclaimed in Ruby-space.


David

i'm with david.

from an objective-c website:

"Protocols:

Protocols, like the name hints, are definitions of behavior which a group of
classes can conform to. Protocols have no interface or implementation, but
they more resemble an interface. You don't add new instance variables, nor do
you add new methods or define the internal workings of any method. All a
protocol does is to define a set of methods which a class must contain in
order to conform to this the protocol. "

i kind of like it better than 'interface', which sounds too java-ish for my
tastes....

-a
--
===============================================================================
| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| A flower falls, even though we love it; and a weed grows, even though we do
| not love it. --Dogen
===============================================================================
 
S

Sean O'Dell

Since Interface is already the name of a Ruby library, pretty much any
other word (as long as it doesn't similarly shadow an existing
package) is automatically more suitable than Interface.

"Interfaces" and "Interfacer" come to mind -- not plum names, perhaps,
but (as far as I know) unambiguous and unclaimed in Ruby-space.

Asking Dan if we could perhaps merge the projects.

Sean O'Dell
 
D

David A. Black

Hi --

Asking Dan if we could perhaps merge the projects.

Another possibility, if you end up not merging, might be to branch
them out like:

interface/some_name
interface/some_other_name

which might not be bad since I suspect we'll see more rather than
fewer projects of this nature springing up :)


David
 
D

Daniel Berger

Sean O'Dell said:
I will when I have a suitable alternative.

Sean O'Dell

Since the whole thing was inspired by "duck typing", how about these
suggestions:

duckface
quacker
quackerface
ducktyper

.....hmm....as I was typing this I realized you already picked
'celsoft.com/interface' or something. :(

Oh, well.

Dan
 
S

Sean O'Dell

Since the whole thing was inspired by "duck typing", how about these
suggestions:

duckface
quacker
quackerface
ducktyper

.....hmm....as I was typing this I realized you already picked
'celsoft.com/interface' or something. :(

Oh, well.

I actually like the alternative name I chose better than just interface.
celsoft.com is a good namespace for me to shove my stuff into, I think I'll
use it more often. The duck-related suggestions were clever though.

Sean O'Dell
 
G

gabriele renzi

I will when I have a suitable alternative.

I agree with dblack suggestion of Interface::Something

BTW I like the ide of 'facets' more than interfaces, feels more
rubyish :)
 
A

Ara.T.Howard

Since the whole thing was inspired by "duck typing", how about these
suggestions:

duckface
quacker
quackerface
ducktyper

....hmm....as I was typing this I realized you already picked
'celsoft.com/interface' or something. :(

Oh, well.

Dan

one vote for 'duckface' !!

if we can't laugh at oursevles...

-a
--
===============================================================================
| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| A flower falls, even though we love it; and a weed grows, even though we do
| not love it. --Dogen
===============================================================================
 
H

Hal Fulton

Daniel said:
Since the whole thing was inspired by "duck typing", how about these
suggestions:

duckface
quacker
quackerface
ducktyper

.....hmm....as I was typing this I realized you already picked
'celsoft.com/interface' or something. :(

Oh, well.

Also saves me from having to suggest exitface or outerface.

Hal
 
D

David A. Black

Hi --


Inspired by looking for an alternative to duck typing, though :)
Also saves me from having to suggest exitface or outerface.

Although... hmmm... This make me think of the term "intraface", which
could mean something (some kind of introspective interface?).
Intraesting.


David
 
J

Jim Freeze

Hi --


Although... hmmm... This make me think of the term "intraface", which
could mean something (some kind of introspective interface?).
Intraesting.

How about in_your_face?

--
Jim Freeze
Some points to remember [about animals]:

(1) Don't go to sleep under big animals, e.g., elephants, rhinoceri,
hippopotamuses;
(2) Don't put animals with sharp teeth or poisonous fangs down the
front of your clothes;
(3) Don't pat certain animals, e.g., crocodiles and scorpions or dogs
you have just kicked.
-- Mike Harding, "The Armchair Anarchist's Almanac"
 
J

Joel VanderWerf

Daniel said:
Since the whole thing was inspired by "duck typing", how about these
suggestions:

duckface
quacker
quackerface
ducktyper

"mullet" -- turn the problem around and look at it from the other end of
the duck ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
EmeliaBryc

Latest Threads

Top