Programming Tips πŸ’‘
51.6K subscribers
67 photos
10 videos
30 files
354 links
Programming & AI:
Tips πŸ’‘
Articles πŸ“•
Resources πŸ‘Ύ
Design Patterns πŸ’Ž
Software Principles βœ…

πŸ‡³πŸ‡± Contact: @MoienTajik

🎯 Buy ads: https://telega.io/c/ProgrammingTip
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