Programming & AI Tips πŸ’‘
46K subscribers
67 photos
11 videos
30 files
386 links
Programming & AI:
Tips πŸ’‘
Articles πŸ“•
AI & LLMs πŸ‘Ύ
Design, Architecture, Principles βœ…

πŸ‡³πŸ‡± Contact: @MoienTajik
Download Telegram
Don't Create Objects That End With -ER ❌

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. πŸ€¦πŸ»β€β™‚οΈ


[ Article ] : kutt.it/erobj

〰️〰️〰️〰️〰️〰️
#Objects #ObjectThinking
@ProgrammingTip