Tag Archives: C#

Functional (Meta)?Programming Stunts for Ruby and Groovy (and a Little Perl)

After I learned OCaml, my coding mindset was totally distorted. I started writing Java code that looked like this: public Collection<foo> getCertainFoos() { return CollectionUtils.select(getFoos(), new Predicate() { public boolean evaluate(Object o) { return SOME_CONSTANT.equals(((Foo)o).getProperty()); } }); } </foo> This is kinda ugly in Java, but it’s simply what comes out when I was thinking [...]

Posted in Groovy, Perl, Ruby/JRuby | Also tagged , , , | 7 Comments

My Frustrations with REXML: Ruby’s Standard Library for Reading/Writing XML

So, I’m trying to do a little bit of XML reading/writing with Ruby. I used REXML, and the pain pissed me off enough to share my frustrations with the world. Hopefully someone can avoid the pain and suffering I put up with.

Posted in Classic, Ruby/JRuby | Also tagged , | 32 Comments

My Newest Insight into the Generics Controversy

Okay, I’ve had some quality time with Java5 at my newest gig, and I’m starting to understand the great controversy behind Java generics. There was a particularly painful insight I just had that has officially flipped me from stalwart supporter to reluctant supporter, and I’d like to share that with the world so they don’t [...]

Posted in Classic, To Be Categorized | Also tagged , | 13 Comments

Implementation Exposure Through Inheritance

There’s a bit of ugliness with object-oriented development which I keep encountering, so I’m wondering if any of the locals out there have a better solution. Specifically, my problem is that the inheritance relationship seems to be conflating two purposes in at least Java and CSharp.

Posted in Classic, To Be Categorized | Also tagged , | 7 Comments

C++ and Threading

I’m reading this post on the C++ committee’s dealings on threading, and, I am pleased to announce, there is absolutely no chance what so ever of anything sane, workable, or sensible accidentally arising from these precedings.

Posted in Classic, Programming Language Punditry | Also tagged , | 26 Comments
  • Categories