Insidious Dependencies 🤷🏻♂️
In the last year or so I’ve really seen the light on how to really write loosely-coupled code. 💎
I thought I knew something about this concept before – I mean, I knew loose coupling was good, generally speaking, and I knew data abstraction was one of the key ways to limit dependencies between classes. ✅
However, I didn’t realize that I was unintentionally adding all kinds of coupling into my applications despite my best efforts to the contrary. ⛔️
Let’s talk about some dependencies, including some obvious ones, as well as some insidious dependencies that lurk in most applications I’ve seen. 🗂
Insidious dependencies ❌ :
• File System
• Email
• Web Service & Requests
• DateTime.Now
• Configuration
• New ...
https://t.me/pgimg/139
[ Article ] : bit.do/indP
〰〰〰〰〰〰
#CleanCode #Dependency
@ProgrammingTip
Post #453
11.2K