Contribute to the LWJGL open collective
General Java Game Development
February 08, 2005, 00:00:36 »
Just wondering if you guys know any good online resources for patterns (the gof kind). Expecially patterns implemented in java. I never really paid much attention to them until I stumbled across java code for a singleton class. It just opened my eyes to how useful and elegant these patterns can be and why programmers use them. Instead of it taking years to discover and master these patterns on my own why not learn from others.
Also any pitfalls in java programming that really slow a program down. The biggest speed increase to my programs came when I started reusing objects. Don't add to the heap during play.
I'm curious what kind of tricks you guys use or methods you avoid.
Reply #1 on:
February 08, 2005, 13:38:02 »
Just Google it!
The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities. We need men and women who can dream of things that never were.
- John Fitzgerald Kennedy(35th US President)
Reply #2 on:
February 08, 2005, 13:47:19 »
Yes, Eckel's Thinking in Patterns is pretty good. I'd also recommend Thinking in Java for general Java programming.
Reply #3 on:
February 09, 2005, 00:15:45 »
Thanks for the links. The performance article has given me stuff to think about and about a year ago I downloaded Eckel's books and completely forgot about them.
Just thought I'd mention: I went to the local bookstore and picked up Head First Design Patterns and so far I've really enjoyed reading it. At first I thought it was a joke but I can't put it down and I'm actually learning.
On the topic of books for anyone new to java take a look at "Core Java2 fundamentals Volume 1, 7th edition" by Horstmann and Cornell. It serves as an excellent introduction to the language and contains alot of the details other books are missing.
Reply #4 on:
February 16, 2005, 19:58:13 »
I'm currently working through Head First Java and it's pretty good. I've got HF EJB and HF Design Patterns at home and they all seem pretty well worthwhile. And cheap, from amazon.com, too!
ife sucks, kill yourself.
SMF © 2014