Haha, this reminds me of an educational app that I once written in which the teacher was meant to organize "classes". I was torn between Java-ish "clazz" spelling and less domain-ish "lesson" (I went for the "lesson").
Anyway, for issues like that Thesaurus is my best friend. I don't think there's a one-size-fits-all synonym for type, because different synonyms fit best in different contexts.
Personally, I always look for a synonym rather than prefixing like post_type or widget_type, because I hate the way it reads in the code later e.g. widget.widget_type, grr!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Haha, this reminds me of an educational app that I once written in which the teacher was meant to organize "classes". I was torn between Java-ish "clazz" spelling and less domain-ish "lesson" (I went for the "lesson").
Anyway, for issues like that Thesaurus is my best friend. I don't think there's a one-size-fits-all synonym for
type
, because different synonyms fit best in different contexts.Personally, I always look for a synonym rather than prefixing like
post_type
orwidget_type
, because I hate the way it reads in the code later e.g.widget.widget_type
, grr!