Re: Rails'' inflections are messy

Rafael C. de Almeida
Fri, 27 Jul 2012 01:21:26 -0000

One thing that have always bothered me about the inflector and this
pluralize business is that it only work in English. That make rails newbies
from non-english speaking countries have a harder time learning the
technology than they should. I know ruby''s keywords are already in
English,
and so are method names and so on. But reading a foreing language is
easier; and so is using already defined names. However, a person who
doesn''t know English very well will not do a good job in naming his own
variables and models in English. A famous quote from computer science field
goes: "There are only two hard things in Computer Science: cache
invalidation and naming things". Imagine naming it in a language you
aren''t proficient.

Perhaps inflection should not be the default. Maybe it should be optional.
If you want it, then you can load your language''s inflection gem, if
it''s
available.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit