Episodes

Episode 12. Giving the Model a Controlling View (The Model-View-Controller pattern)

In this podcast we talk about the Model-View-Controller pattern (and is prettier cousin, the Model-View-Presenter), and go over how to go about implementing the MVC/MVP Pattern (really, what to instantiate first, and how to wire the whole thing). We also cover the caveats of implementing the MVC, including escaped references in construction, and making the...

Play Episode

Episode 13. Optimizing for Performance

We all love speed, code speed that is! In this podcast we delve into code optimizations, and what does it mean to optimize for speed. We go over what is the mind-state that you need as you optimize code and offer sneaky shortcuts that allows 10-fold improvement with very little code change (Caching, or pregenerating,...

Play Episode

Episode 14. Optimizing for Performance – The tools

In the second part of optimization, we talk about the tools (or more properly algorithms) that you can use to optimize a piece of code. Ever wonder how to make a piece of code faster? or difference between caching and Divide-and-Conquer? then tune in! You’ll become the McGyver of code optimization. Fork/Join Java 7 (http://docs.oracle.com/javase/tutorial/essential/concurrency/forkjoin.html)...

Play Episode

Episode 15. Java Swing and Performance. It’s not slow!

Taking the performance theme, we move into the dark corners of Java Swing and discover that it is not a lame horse at all! Swing is very fast (with support for directX and OpenGL!), but sometimes is hard to get it to perform right. In this podcast we talk about how to make sure of...

Play Episode

Episode 16. Let’s talk about the STATE of things. A brief intro to the State pattern

The State pattern is very useful, it’s just hard to spot, and at the beginning a little hard to understand. On this podcast we cover the state pattern with a specific example of its use, plus tips on how to spot when to use it (really that’s the hardest part of the state pattern). Check...

Play Episode

Episode 17. What is beauty? A discussion about beautiful code

Every developer at one point in time runs into the question, what is beautiful code? Is it code that is expressed concisely? is it code that does a lot in a few lines of code. Well, while we’re not the DeveloperPeople’s magazine at least there are fundamental concepts that describe code beauty. And while there...

Play Episode