Hi,
I just put on the ruby slippers and am having a blast learning it.
Now I have a question of Shoes community etiquette.
As a warm-up exercise, I coded up a Shoes version of Simon Heys's
elegant Word Clock:
http://www.simonheys.com/wordclock/
My Shoes version looks and works just fine. But I'm not satisfied.
It could be cleaner. It could be more efficient. I thirst to learn
the True Way of Shoes. I'd like to see how the grizzled old experts
and wild-eyed tyros would attack the same programming challenge.
So to put it to the community:
- If you want to take a crack at your own Shoes implementation of Word
Clock, go for it. Everything you need to know about it is on Simon's
web site.
- What Shoes idioms are especially appropriate for an app like this?
- How would you make it really efficient and not chew up too many CPU
cycles? After all, it's meant to be a background task.
- Is it appropriate to post my code directly to this list (~ 180
lines)? Or is there a repository that everyone drinks from?
Thanks in advance.
- Rob
P.S.: extra credit given for an implementation of Simon's Rotary Clock
(also on http://www.simonheys.com/wordclock/)