Tag Archives: Ruby

Ruby Summer of Code (RSOC)?

@Headius tweeted: “Plan A: Try to get GSoC to reconsider Rails org’s application. Plan B: Organize a Ruby Summer of Code.” Since Plan A apparently hasn’t worked, maybe Plan B will be go?

Posted in Software Business | Also tagged | 3 Comments

Open Source Journaling: Cornerstone

I did another brief update to Cornerstone last night. When parsing floating point numbers, I was doing a parse of an integer, then the dot, then a series of digits, and gluing it all together afterwards. Fred Medlin at the Java Hack Night pointed out that was silly, and I should should parse the value [...]

Posted in Ashlar/Cornerstone, Open Source Journaling | Also tagged , , , , , | Leave a comment

My Fundamental Issue with Ruby

If you’re going to play it fast-and-loose with types, that really is fine by me. But Ruby gets on my nerves with the way it does not let me do typing when useful and yet eagerly punishes me for using the wrong types.

Posted in Classic, Perl, Programming Language Punditry, Ruby/JRuby | Also tagged , | 21 Comments

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
  • Categories