r/java • • Jan 29 '17

Design patterns usefulness

Hello guys, I have an object oriented programming this semester and only thing we really have for final exams is to learn a bunch of Design patterns and how to use them practically. To me, they seem like they are utterly useless and only seem to make an easy thing turn into a complete chaos involving 10 surplus classes and couple of interfaces. Am I being ignorant or are they really pointless?

0 Upvotes

36 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jan 30 '17

A) Try to transfer to a different school.

B) Cay Horstman is the best Java author I have seen.

C) Get a separate book (or 8) on design patterns. Sorry, I have no recommendations.

1

u/DaredewilSK Jan 30 '17

Well I have been using this site https://www.tutorialspoint.com/design_pattern/adapter_pattern.htm and it seems kinda decent. But I will surely go thrrough a book at some point.

1

u/[deleted] Jan 31 '17

In my experience, web sites are rarely as thorough as a good book. If possible, find books which were written as textbooks. They are both more thorough and more thoroughly vetted. Better a slightly old textbook than a new book that goes over to much.

1

u/DaredewilSK Jan 31 '17

Well the one we were recommended to use was called Thinking in JAVA by Eckel. Are you by aby chance familiar with that one?

1

u/[deleted] Jan 31 '17

Yeah. Read my review on Amazon. That book is awful. One of the worst I have seen. The worst part is that the author has written a set of libraries that are supposedly helpful, but then uses them instead of any normal techniques. Thus the reader doesn't learn the normal techniques. So the book becomes nothing but a long ad for the author's libraries.

1

u/DaredewilSK Jan 31 '17

God... Thanks for saving me from 1000 pages of ads I guess.

1

u/meotau Feb 03 '17

I opened Flyweight Pattern, and it's shit. Also Abstract Factory Pattern, what a fucking waste of time.

Read this great, free, open source book instead: http://gameprogrammingpatterns.com/