TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What do you call this in Ruby?

115 pointsby juanfatasabout 9 years ago

21 comments

kbensonabout 9 years ago
Such little imagination... You should learn from your forefathers. Quantity is no substitute for quality. ;)<p><a href="http:&#x2F;&#x2F;search.cpan.org&#x2F;dist&#x2F;perlsecret&#x2F;lib&#x2F;perlsecret.pod#SYNOPSIS" rel="nofollow">http:&#x2F;&#x2F;search.cpan.org&#x2F;dist&#x2F;perlsecret&#x2F;lib&#x2F;perlsecret.pod#SY...</a>
评论 #11368881 未加载
评论 #11369039 未加载
brandonbloomabout 9 years ago
Meanwhile:<p><pre><code> Mathematica 10.0 for Mac OS X x86 (64-bit) Copyright 1988-2014 Wolfram Research, Inc. In[1]:= FullForm[x-&gt;y*z^w] Out[1]&#x2F;&#x2F;FullForm= Rule[x, Times[y, Power[z, w]]] In[2]:= x\[UnionPlus]y\[RightTee]z Out[2]= x ⊎ y ⊢ z </code></pre> There&#x27;s no reason your programming language shouldn&#x27;t be able to tell you what these things are called in English without an external reference.
评论 #11368981 未加载
评论 #11369128 未加载
pakabout 9 years ago
Say what you will about us, but Ruby people get to have the most fun.<p><i>hops on hipster hashrocket and tribbles off into the sunset</i>
评论 #11368796 未加载
评论 #11368759 未加载
technionabout 9 years ago
I had a Microsoft support technician ask us to press the &quot;flower button&quot; in a powershell script. It took a while to work out he meant { and }.
jowiarabout 9 years ago
This sums up what I dislike most about Scala (which is an even worse offender in this regard). A rule of thumb: if a 10-year-old wouldn&#x27;t be able to intuitively read the operator, use words.
评论 #11368941 未加载
评论 #11369077 未加载
评论 #11368713 未加载
评论 #11369232 未加载
zyxleyabout 9 years ago
This seems like it could have been prime territory for a bit of surrealist&#x2F;meta fiction, with gradually stranger descriptions of operators turning into a short story of some kind.
brightballabout 9 years ago
I will be using bacon cannon from here on out
teddyhabout 9 years ago
Normal single-character operators also have names:<p><a href="http:&#x2F;&#x2F;www.catb.org&#x2F;jargon&#x2F;html&#x2F;A&#x2F;ASCII.html" rel="nofollow">http:&#x2F;&#x2F;www.catb.org&#x2F;jargon&#x2F;html&#x2F;A&#x2F;ASCII.html</a>
biotabout 9 years ago
How did hashrocket get named? I would think instead of =&gt; a hashrocket would look like: #&gt;<p>edit: Makes total sense. Thanks for the replies.
评论 #11368863 未加载
评论 #11368862 未加载
broodbucketabout 9 years ago
Wish I worked with a language with a === operator so I could say &quot;threequals&quot;. Very clever and fitting.
评论 #11368745 未加载
eruabout 9 years ago
A select few operators (out of hundreds) for a single Haskell library: <a href="https:&#x2F;&#x2F;github.com&#x2F;ekmett&#x2F;lens&#x2F;wiki&#x2F;Operators" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ekmett&#x2F;lens&#x2F;wiki&#x2F;Operators</a><p>(For full disclosure, the lens library is infamous for this.)
评论 #11368779 未加载
jack9about 9 years ago
... is an ellipsis.<p>! is enunciated as &quot;bang&quot; from BASH parlance, iirc.
评论 #11368902 未加载
mokusabout 9 years ago
Looks like quite a few of these were cribbed from the intercal character set[0]. Nice to see that living on.<p>[0] <a href="http:&#x2F;&#x2F;www.muppetlabs.com&#x2F;~breadbox&#x2F;intercal-man&#x2F;tonsila.html" rel="nofollow">http:&#x2F;&#x2F;www.muppetlabs.com&#x2F;~breadbox&#x2F;intercal-man&#x2F;tonsila.htm...</a>
mifixabout 9 years ago
Just added a PR for the spermy operator (~&gt;).
评论 #11368725 未加载
gregschlomabout 9 years ago
my favorite is the &quot;Elvis operator&quot; in kotlin ?:<p>Took me a while to figure out why it was called that way.
评论 #11369066 未加载
santaclausabout 9 years ago
&gt; =~<p>Cigarette operator! This list is on fire.
rosalinekarrabout 9 years ago
I like to call crab clows &#x27;insert.&#x27;
评论 #11368866 未加载
cdcarterabout 9 years ago
&#x27;!!&#x27; -&gt; &quot;truthy?&quot;
评论 #11368736 未加载
评论 #11368765 未加载
clairityabout 9 years ago
i like the yoda operator: !!!<p>i&#x27;ve never used it... what&#x27;s a good use case?
dasil003about 9 years ago
stabby lambda is my favorite.
评论 #11369042 未加载
Skywingabout 9 years ago
dat bacon cannon