Programming & AI Tips 💡
46K subscribers
67 photos
11 videos
30 files
385 links
Programming & AI:
Tips 💡
Articles 📕
AI & LLMs 👾
Design, Architecture, Principles ✅

🇳🇱 Contact: @MoienTajik
Download Telegram
Try to group extension methods into static classes dealing with the same extended type. 📦

Sometimes related classes (such as DateTime and TimeSpan) can be sensibly grouped together. ↔️

But avoid grouping extension methods targeting disparate types such as Stream and string within the same class. ❌

〰〰〰〰〰〰
#CleanCode #ExtensionMethods
@ProgrammingTip