正在加载视频...

视频加载失败

Morning bathrobe rant: Design Patterns.

148,927 次观看 • 1 年前 •via X (Twitter)

10 条评论

Daniel 的头像
Daniel1 年前

It’s amazing how little you can say in a full 90 seconds

Home Bathroomware 的头像
Home Bathroomware1 年前

Transform your bathroom space with our stunning Clifton floating vanity! 🚽✨ Choose from various cabinet and handle finishes to match your style. Designed and made in Australia, just for you.

Foy Savas 的头像
Foy Savas1 年前

I used to disregard GoF's Design Patterns. But then you code them enough times and you're thankful for the names. What I still think sours the Design Patterns is that some devs treat the book's examples as strict interface specs.

Daryl Barnes 的头像
Daryl Barnes1 年前

The primary benefit of "Design Patterns" is that we programmers now have a common language to describe what we're doing in our programs. That's really all it is and that's awesome.

Jeremy Dean Lakey 的头像
Jeremy Dean Lakey1 年前

I've noticed that when devs read design patterns, their code initially gets worse (sometimes never recovers). This is probably why some view design patterns negatively.

Dad 3.0 👨‍👧‍👦 💻 📷 👨🏻‍🍳 的头像
Dad 3.0 👨‍👧‍👦 💻 📷 👨🏻‍🍳1 年前

The problem is every time those extreme people. Some years ago, it was the opposite, some thought you HAD to use them even before figuring out what was the problem. Not reading the book is ok, if you’re clever enough, the pattern will emerge. “Design patterns” after all are names associated with code structure.

XDF 的头像
XDF1 年前

The criticism is not "they're complicated." Some design patterns are ok as an abstract vocabulary. But they quickly become problematic when they are implemented literally. And they immediately become disastrous when they are treated as the atomic units of software architecture.

pavi2410 的头像
pavi24101 年前

uncle figured out the algorithm

TheRootless 的头像
TheRootless1 年前

Totally agree, I am 32 and a Staff Engineer, whenever I setup a new service I always make sure to set it up in a foundation of design patterns with clear documentation on the principles behind them. But... the newer engineers just dismiss it and start patching things randomly without following any philosophies😔

Leitz 💡 的头像
Leitz 💡1 年前

The original design patterns book was revolutionary. I always found it too academic and abstract though .@allenholub wrote a book with working Java examples called Holub on Patterns It has all the patterns from the original This book is great and is approachable by beginners

相关视频