I'm the opposite. I write classes for almost everything. I do my best to
abstract them so they aren't esoteric, but I find that if I take the time to
write classes, my code is cleaner, easier to maintain, and I end up re-using
things that I didn't plan on.

see: http://mootorial.com/wiki/mootorial/10-whentowriteclasses

On Wed, Nov 4, 2009 at 4:42 PM, CroNiX <cronix...@gmail.com> wrote:

>
> I don't waste time writing a class unless its general purpose.  That
> is it can be used on many websites/projects just the way it is.
> Something like the mootools Tips class.  If its something that is only
> going to be used on one website and will only work on that one
> website, I just go with straight functions.
>

Reply via email to