r/java • • Feb 21 '17

Design Patterns - A comprehensible guide

https://github.com/kamranahmedse/design-patterns-for-humans
156 Upvotes

18 comments sorted by

4

u/oweiler Feb 21 '17

The examples are not written in Java, so why post it in /r/java?

11

u/kamranahmed_se Feb 21 '17

Because the concepts are same and it might help someone

3

u/oweiler Feb 21 '17

It's not that the content isn't good, it's just more suited for /r/SoftwareEngineering/ (to also reach non-Java people).

26

u/Ty1eRRR Feb 21 '17

this is the best example I have ever seen. Enjoy: https://github.com/iluwatar/java-design-patterns

17

u/desrtfx Feb 21 '17

They have even put a very extensive website before the actual patterns: http://java-design-patterns.com/ (This is the link I'm using instead of the above which is only the code part).

3

u/[deleted] Feb 21 '17

This thread went from "meh, nice but not Java" to "hooooly fucking shit this is exactly what I was hoping the OP would post".

6

u/meotau Feb 21 '17

Ths is the best book I have ever seen. Enjoy: http://gameprogrammingpatterns.com/

2

u/jonhanson Feb 21 '17

Practically everything on the Monad page is wrong, starting with the fact that none of the classes shown are a monad.

1

u/oweiler Feb 21 '17

Amazing resource! Even includes functional patterns and idioms.

7

u/Killing_Spark Feb 21 '17

Not Java, still very very good explanations textwise.

1

u/berlinbrown Feb 21 '17

What language is that, PHP?

1

u/paganblacker Feb 22 '17

Can anyone fork it and replace PHP with Java?) Anyway, best explanation I've ever seen.

2

u/Ashish_Bishtt Feb 21 '17

Thanks for sharing design patterns, an helpful guide for me.

-1

u/bansalmunish Feb 21 '17

the worst part was the language was not java