[Solar-talk] Changes afoot: a new Model class

Antti Holvikari anttih at gmail.com
Thu Feb 8 01:11:54 PST 2007


On 2/8/07, Arnaud Limbourg <arnaud at limbourg.com> wrote:
> Rodrigo Moraes wrote:
> > It was funny to see Solar_Inflect committed because a couple of days
> > before, Andreas, Antti and I were discussing models and we three
> > agreed (correct me if I'm wrong) that inflectors for singular/plural
> > could be avoided; we were referring to Rails/Cake/these kind of
> > inflectors; the idea would be to, let's say, use singular every time
> > and forget to worry about converting to plural / maintaining this kind
> > of code. Don't mind anyway; everything seems to be nice; I just
> > thought to mention this because it's a discussion I don't see very
> > much.
>
>
> I  must say i am not a fan of this singular/plural thingie. If I had to
> do that with french it would be a lot of work which has no added value
> to me.
>
> Keeping everything singular is simpler and removes a layer of magic.

I must say I agree with Arnaud. As of now I vote for singular to keep
things simple. Then there is no question, what so ever, how to access
the related records. We like consistency, right? :-) There might even
be a case where I really don't know the plural of a certain word
(english isn't my primary language). Also, what if new irregular words
are added to the dictionary?


-- 
Antti Holvikari <http://phphalo.com>


More information about the solar-talk mailing list