Java developers have 99 problems…

… but this ain’t one.

Today Yahuda Katz posted his 10 favourite things about the ruby language. His list certainly reflects most of the things I find very appealing about the language. The sixth item highlights Ruby’s excellent support for blocks and lambdas and an argument is mounted that when performing file operations in languages without them, programmers are forced to use an inline “ensure” block every in the same lexical scope that they originally opened the file in, to ensure that the resource is closed. As is often the case the comparison is made to Java, but as any seasoned Java developer will tell you (and this point has probably be made many, many times) it just isn’t true. Java supports a safer and comparable idiom via the anonymous inner class.

Continue reading “Java developers have 99 problems…”

Insoporia

And the sleep won’t come,
the time ticks a pattern in my head,
a memory of you enters and fades,
a lost time, more potent than the time I’m losing now.

If I could choose, if I truly had free will,
I’d run, I’d break out, I’d be unbonded, free.
but while I’m here in this state, a listless nowhere,
I can’t, I won’t, I’ll never be.

and even now, when I feel almost alive, I’ll falter
search for words that won’t come, that will never say what I want to say
I’ll think that at the very least, I’ve created something
but for what purpose? In the end, I’ll hate them, hate it, loathe it all the same.

And the sleep still won’t come, but maybe I always am.

Bash your Fish

I love shells. I spend an inordinate amount of every working day in one. That one happens to be Bash, arguably the most ubiquitous CLI shell in the world. It’s not bad at all, although sometimes I think CLIs could be so much more than they are today. Some other people agree too, but that delectable future seems a little way off.

Continue reading “Bash your Fish”