New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change references to 'spermy' to 'twiddle wakka' #123

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
@r00k
Copy link

r00k commented Jun 29, 2011

The rubygems guides refer to "~>" as 'twiddle wakka', but the code had some old references to a 'spermy operator'. This commit makes the two consistent.

@postmodern

This comment has been minimized.

Copy link
Contributor

postmodern commented Jun 29, 2011

Where did the term "spermy operator" or "twiddle wakka" originate from? RubyGems appears to be the first to use either term.

Personally, I've always read ~> as "approximately greater than".

@zenspider

This comment has been minimized.

Copy link
Contributor

zenspider commented Jun 29, 2011

'spermy' is the newer term. We prefer it.

@zenspider zenspider closed this Jun 29, 2011

@qrush qrush reopened this Jun 29, 2011

@qrush

This comment has been minimized.

Copy link
Member

qrush commented Jun 29, 2011

Is there a reason "we prefer it"? Does anyone seriously discuss with their coworkers "use the spermy operator in your Gemfile" ? I vote for the change that doesn't sound childish.

@qrush

This comment has been minimized.

Copy link
Member

qrush commented Jun 29, 2011

I'd also like to note this matches the guides.

http://guides.rubygems.org/patterns/#declaring-dependencies

@postmodern

This comment has been minimized.

Copy link
Contributor

postmodern commented Jun 29, 2011

Who is this "we"? Where did "spermy operator" originated from? Or is this a personal preference?

@evanphx

This comment has been minimized.

Copy link
Member

evanphx commented Jun 29, 2011

I'd prefer an entirely different name, personal. I'm not a fan of 'spermy' nor 'twiddle wakka'.

@practicingruby

This comment has been minimized.

Copy link
Contributor

practicingruby commented Jun 29, 2011

@zenspider, I agree with @evanphx. I don't particularly like the very old name for this (pessimistic version operator). Maybe call it approximate version?

Spermy is a cute Easter egg, but a name that describes how something look rather than what it does is just bad design, IMO.

@postmodern

This comment has been minimized.

Copy link
Contributor

postmodern commented Jun 29, 2011

@evanphx

This comment has been minimized.

Copy link
Member

evanphx commented Jun 29, 2011

After some nerd discussion, I'd like to throw "semantic arrow" into the mix. Used in a sentence: "We require rails semantic version 1.2.3"

@practicingruby

This comment has been minimized.

Copy link
Contributor

practicingruby commented Jun 29, 2011

@evanphx, In theory I think that works well but in practice it's probably too loaded of a term, implying things about the versions that aren't necessarily true. Could be confusing terminology when used with libraries that don't use semantic versioning. The word semantic on its own doesn't mean much in this context, so I'd always be thinking of semver.

@postmodern

This comment has been minimized.

Copy link
Contributor

postmodern commented Jun 29, 2011

@evanphx I like that term. Although, Gem::Version has to match all Version Schemas, beyond Semantic Versioning.

@practicingruby

This comment has been minimized.

Copy link
Contributor

practicingruby commented Jun 29, 2011

perhaps "compatible_version" is an option. "We require rails compatible version 1.2.3"

@drbrain

This comment has been minimized.

Copy link
Member

drbrain commented Jun 30, 2011

I have seen "pessimistic" used as well.

@luislavena

This comment has been minimized.

Copy link
Member

luislavena commented Jun 30, 2011

While pessimistic might sound negative to some, it is pretty much what it is: you're being pessimistic about the version of the library you're going to depend on, just to stay safe.

spermy is too heavy with other meanings and doesn't communicate the function. twiddle wakka sounds like a joke.

@trans

This comment has been minimized.

Copy link

trans commented Jun 30, 2011

What is =~ called ?

@erikh

This comment has been minimized.

Copy link
Contributor

erikh commented Jun 30, 2011

Actually, trans might be onto something here; patterns are really what we're looking at here, and that might be a good basis for a rename, "regular version" or "version match operator" would satisfy my inner semantic nerd.

Still, I can't help but declare the bikeshed should be yellow to keep in line with the tone of the discussion. There are more important things to spend time on.

@agrimm

This comment has been minimized.

Copy link
Contributor

agrimm commented Jul 2, 2011

Anything but spermy operator. Please.

@parndt

This comment has been minimized.

Copy link
Contributor

parndt commented Jul 2, 2011

Spermy is a ridiculous term. Seriously?!

@ghost ghost assigned practicingruby Sep 1, 2011

@lazyatom

This comment has been minimized.

Copy link

lazyatom commented Oct 1, 2011

Agreed, anything but "spermy".

@practicingruby

This comment has been minimized.

Copy link
Contributor

practicingruby commented Oct 1, 2011

I am closing this request because I've been given permission to merge #124 if it does not cause any problems. I just have not had time to look into it yet, but it will happen eventually. No one else with commit access seems to care much about this, but it'll get taken care of eventually. /c @lazyatom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment