14 Mar 2000 kuro5hin   » (Master)

Argh!

Ever have one of those times when it feels like everything you code both fails to work *and* breaks a half dozen other things at the same time? I'm having that feeling right about now.

I'm trying to objectify a lot of the larger Scoop components, using CW's Collection objects, but it's really not going well. I'm seriously considering scrapping this plan and scaling back to just cleaning up the existing code, and doing something like a mini-Collection, which just returns data hashes (and does the nifty caching) rather than full-blown objects.

I don't know what the problem is. To all appearances, it's perfectly simple code, that should do exactly what it's supposed to. But I just can't get it to WORK! It's driving me up a freaking wall. I hate going to bed with less accomplished than I started with. But tonight, that's the way it's gonna be.

I'm starting to think perl is probably a bad choice for heavy-duty OO programming. Once you get past a certain level of complexity, perl's slightly wonky OO semantics start making it harder to do things, rather than easier. I keep hitting that point, repeatedly, and I think it's time to back off and take a smaller bite.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!