David Bernstein

8.1K posts

David Bernstein banner
David Bernstein

David Bernstein

@ToBeAgile

Software developer and author of Beyond Legacy Code (https://t.co/zujBrHu8t6) and Prompt Engineering for Everyone (https://t.co/FmPoUByBol).

Colorado, USA Katılım Nisan 2009
1.1K Takip Edilen1.7K Takipçiler
David Bernstein
David Bernstein@ToBeAgile·
Design patterns aren’t solutions. They’re signals. Signals that reveal the forces inside a problem. If the force isn’t there → the pattern is wrong. New video: Patterns Aren’t Solutions (and Never Were) youtube.com/watch?v=ncUrf-…
YouTube video
YouTube
English
0
0
1
31
David Bernstein
David Bernstein@ToBeAgile·
Most developers think testability is about tests. It’s actually about design. When tests are painful → your design is telling you something. New video: Testability Is the Ultimate Code Smell Detector youtube.com/watch?v=2IBN03…
YouTube video
YouTube
English
0
0
3
37
David Bernstein
David Bernstein@ToBeAgile·
Most rigid systems aren’t complex. If construction and usage live in the same function, every new requirement edits that crossroads. Factories centralize identity. Create. Connect. Return. New video: Where Should Decisions Live in Code? youtube.com/watch?v=H_ueru…
YouTube video
YouTube
English
0
0
0
51
David Bernstein
David Bernstein@ToBeAgile·
5 optional features. 32 subclasses. That’s not bad design. That’s math. Variation belongs in data — not types. New video: Class Explosion (and how to stop it) youtube.com/watch?v=H_ueru…
YouTube video
YouTube
English
0
0
2
48
David Bernstein
David Bernstein@ToBeAgile·
Decorator and Chain of Responsibility look the same in UML — but they solve completely different problems. youtube.com/watch?v=ZhE7Db… Watch where the decision lives. That’s the pattern.
YouTube video
YouTube
English
0
0
1
41
David Bernstein
David Bernstein@ToBeAgile·
If/else isn’t the real problem—your design shape is. Move selection into a factory and compose behavior as a pipeline (Decorator) to stop class explosion. youtube.com/watch?v=ZPcgaZ…
YouTube video
YouTube
English
0
0
1
138
David Bernstein
David Bernstein@ToBeAgile·
AI lets us refactor in minutes what used to take hours, but does it hold up? In this week’s video, I walk through the missing step senior developers use—before choosing patterns or restructuring code—and how AI can help if you ask the right questions. youtube.com/watch?v=VrmjP4…
YouTube video
YouTube
English
0
0
0
32
David Bernstein
David Bernstein@ToBeAgile·
Most messy code isn’t a coding problem. It’s a planning problem. Outside-in thinking before implementation changes everything. Claude’s Planning Mode makes this shift practical. youtube.com/watch?v=VqzsOb…
YouTube video
YouTube
English
2
0
0
90
David Bernstein
David Bernstein@ToBeAgile·
The CLI isn’t a tool. It’s a thinking space. Claude on the command line = design → clarity → refactoring → clean code. New video: youtube.com/watch?v=EduaKM…
YouTube video
YouTube
English
0
0
2
42