DEV Community

Discussion on: SOLID Principles for OOP

Collapse
 
promise_sheggsmann profile image
Promise Sheggsmann

very cool and informative, I am starting out my career as a software engineer and I admire people who write code like this, but I don't seem to be able to design a program as efficient, extensible and following the principles, can anyone please suggest to me how to learn these skills or at least practice them.

Collapse
 
tsalman1980 profile image
taha salman

I would suggest look at gang of four, open source code, other frameworks and…
write code, take an existing implementation and try to do it again. there is no replacement for hands on.

Collapse
 
promise_sheggsmann profile image
Promise Sheggsmann

Thanks soo much, I would check out the book and practice.

Collapse
 
albertbennett profile image
Albert Bennett

I'd second looking at sources surrounding the gang of four as well. In my opinion viewing code samples is always your best bet when learning about code. On top of that it would be worth it to read more into common software design patterns. It helped me out a lot when I first started out. However, if you'd like to learn more about the other aspects of software development I'd suggest reading 'The Pragmatic Programmer' by David Thomas and Andrew Hunt. It's a great book, and one that I find myself going back to every few years.

Collapse
 
promise_sheggsmann profile image
Promise Sheggsmann

Thanks for your advice Albert, really appreciate it.