Don't Create Objects That End With -ER

Discussions

News: Don't Create Objects That End With -ER

  1. Don't Create Objects That End With -ER (1 messages)

    Manager. Controller. Helper. Handler. Writer. Reader. Converter. Validator. Router. Dispatcher. Observer. Listener. Sorter. Encoder. Decoder. This is the class names hall of shame. Have you seen them in your code? In open source libraries you're using? In pattern books? They are all wrong. What do they have in common? They all end in "-er". And what's wrong with that? They are not classes, and the objects they instantiate are not objects. Instead, they are collections of procedures pretending to be classes.

    Continue reading...

  2. Don't Read this crap[ Go to top ]

    Validator ends in "er" ? Really?

    With the crap that the blog author often comes out with, he's reached another mindless low with this garbage