Partial mocking can get weird, but useful. Bear with me. Continue reading
When we deal with length-encoded records, we write a heap of substring calls. Is there a better way? Continue reading
Sometimes the riches are really poor. They just won’t download JSUnit. They won’t use XSL, they won’t download any template engine either – they roll their own. Sometimes they don’t even roll their own – they just keep replacing their … Continue reading
A colleague asked me to help him learn java and object-oriented programming. He has solid background in VisualBasic and SQL. This is cool because I don’t need to explain things like the while loop or recursion. We can focus on … Continue reading
The idea came to me via this SO question. The is a question about generics. Probably it’s too much foreshadowing in a technical blog, but this post is about generics too. Tuples First thing first: what’s a tuple? It’s a mathematical buzzword … Continue reading
I’m a skeptical engineer who thinks, specification / documentation is never ever obvious. I believe the unambiguous and comprehensive stuff is code, not documentation. When I say unambiguous, I mean the computer can interpret it in only one way, yet people can easily misunderstand it. We … Continue reading
The problem I’m working with an oldie-but-goodie framework. This framework has some interesting naming conventions. Say for instance, they call subclasses wrappers. We can use subclasses and wrappers for the same thing. However, one of them is more testable than the other. Let’s see the similarities first. … Continue reading
If you want to deeply understand a concept, then you need to see several implementations. This is why I created the following slides. Based on the feedback, I’m kinda alone with this mindset. Anyway, I hope you find them useful.
Mystical Dependency Injection used was always something very mystical to me. Until I learned what it’s really about. I’d like to share this revelation with you. So let’s take an easy problem and solve it in couple of different ways.
The framework I recently started to use Apache Tapestry for work. Tapestry is a web component framework with ambitious goals. E.g. it’s a web component framework that’s easy to extend. Also, it gives you the ease of development of scripting languages … Continue reading