addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [ruby-81] I hate pluralization!

From: user 5.
Sent on: Tuesday, January 29, 2008 8:49 AM
On 1/28/08, Loqi <[address removed]> wrote:
> Natural languages are for artfully conveying meaning among humans.
> Programming languages are for precisely controlling logic machines.

I actually agree with all your points, except that it doesn't bother
me so much. The only thing I might question is the above snippet.
Unless you're the only programmer that might conceivably look at your
code, programming languages are also for conveying meaning among
humans. In fact, the logic machine is ultimately just another medium
for conveying yet more information to yet other humans. If a
programmer writes a program that nobody executes... (I'm not sure what
the logical equivalent of not making a sound is).

Another example of grammatical pseudo-english weirdness that gets to me:

assertive:
x.has_y # (deprecated I think)

interrogative:
x.is_a?(Foo)

simple:
!!x.y

I've got aliases all over my code for stuff like that, but I
invariably forget a few permutations and can never remember which one
I used.

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy