Skip to content
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 from

Conversation

r00k
Copy link

@r00k 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
Copy link
Contributor

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
Copy link
Contributor

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

@zenspider zenspider closed this Jun 29, 2011
@qrush qrush reopened this Jun 29, 2011
@qrush
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
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
Copy link
Contributor

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

@evanphx
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
Copy link
Contributor

@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
Copy link
Contributor

@sandal, @evanphx, see #124

@evanphx
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
Copy link
Contributor

@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
Copy link
Contributor

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

@practicingruby
Copy link
Contributor

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

@drbrain
Copy link
Member

drbrain commented Jun 30, 2011

I have seen "pessimistic" used as well.

@luislavena
Copy link
Member

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
Copy link

trans commented Jun 30, 2011

What is =~ called ?

@erikh
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
Copy link
Contributor

agrimm commented Jul 2, 2011

Anything but spermy operator. Please.

@parndt
Copy link
Contributor

parndt commented Jul 2, 2011

Spermy is a ridiculous term. Seriously?!

@ghost ghost assigned practicingruby Sep 1, 2011
@lazyatom
Copy link

lazyatom commented Oct 1, 2011

Agreed, anything but "spermy".

@practicingruby
Copy link
Contributor

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet