· Naughties
· · 2006
· · · October
· · · · 13 (1 entry)

Ruby String Walking · In prepa­ra­tion for my pre­sen­ta­tion next week­end at RubyConf, I’ve been pok­ing around at Ruby’s string-handling. One thing that text-wranglers such as me like to do is walk through a string a char­ac­ter at a time, and Ru­by doesn’t make this par­tic­u­lar­ly easy. I end­ed up im­ple­ment­ing String#each_char_ut­f8 three times along the way. [Up­date: Lots of in­ter­est­ing feed­back, and a worth-reading ruby-talk thread.] ...
author · Dad · software · colophon · rights
Random image, linked to its containing fragment

By .

I am an employee
of Amazon.com, but
the opinions expressed here
are my own, and no other party
necessarily agrees with them.

A full disclosure of my
professional interests is
on the author page.