Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
I have an object that uses many helper objects to send messages back and forth. For some reason, I struggled with the exact implementation of those helper objects and just couldn't get them quite right. My tests would pass, but I would get stuck on the code and didn't get an API fleshed out.
This morning, I realized that I had it backwards. I'm now writing the main object and the API of the helper objects is incredibly obvious. I don't have to stop and think about how they work, I just know. Work is going much faster now. I'm going to have to remember this in the future.
Architecture? (Score:2)
This sounds interesting, could you explain it more thoroughly... I often struggle with having made bad design decisions so I am always open to smart ideas and designs or architectures
Re:Architecture? (Score:2)
It's pretty simple, really. Let's say that I have an object that sends messages to other objects. We'll call those "helper objects". What API should I use with the helper objects? If I start by trying to design them, it may not be immediately clear how they are used.
For example, I have a variant of a status system that I've been using, but I needed to improve on the old API. My purchase orders can be "pending", "sent", "cancelled", or "received". These statuses are actually helper objects that allow
Re:Architecture? (Score:2)