4 ms·
That presentation basically says "write simple code". I'm not sure how is that helpful to anyone.
by neeleshs 8y ago
That presentation basically says "write simple code". I'm not sure how is that helpful to anyone.
- jimmy1 8y agoIt's immensely helpful. Stuck in a rut designing your type hierarchies and making sure they are perfectly SOLID? STOP. Write the simplest, most clear and concise thing that works, refactor it once it gets too big to fit in your head. Not sure if your AbstractFactoryBeanProxyImplImpl is generic enough to cover all use cases? STOP. Write the simplest most clear and concise thing that works, refactor it to adapt to more problems as needed. Tired of fighting your type system because your stuck in a wheel of is-ha has-a is-a has-a? STOP. If it acts like a duck, and quacks like a duck, it is a duck! Write a duck!
- jschwartzi 8y ago"You Aren't Going To Need It" is the most overlooked piece of advice anyone has ever given anyone.
- neeleshs 8y agoI'm by no means advocating SOLID is the right/only way. I agree with "Write the simplest, most clear and concise thing that works", but it offers no help on how to do that. The how comes from experience. Simplifying complex and large things takes effort and thinking. SOLID helps with that, if used right and not as a religion. I feel "do the simplest" is way too generic an advice.