Shoes
shoesrb.com
shoesrb.com
See also _why's other classic Ruby-related book, the Poignant Guide to Ruby[2].
[1]: http://evc-cit.info/cit020/nks.pdf [2]: https://poignant.guide/
Thanks for mentioning the _why connection. I started reading WPGR years ago when another CS major showed it to me, but I had to quit because could tell I wouldn't be able to restrain myself from spending way too much time on it instead of my coursework. This was shortly after I decided to try Gentoo "real quick" the week before midterms...
Anyway, I never got around to trying ruby for one reason or another -- already use Python, didn't come up at work, some friends are ambivalent about Rails, etc.
So, is being decently competent in ruby still a good skill for a full stack/generalist type dev in 2020? (if there even is such a thing anymore) Is ruby just so cool that it's worth the opportunity cost not to miss out?
Or should I, metaphorically, just try not to screw around before midterms?
I believe the same tool is in use even now, over 10 years later.
Probably the fastest script-to-GUI iteration I've ever done, and a good showcase of Shoes' simplicity. (Although, the GTK gem is actually pretty easy to use as well, and my most recent conversions have been with GTK.)
As a project matured, so would the admin panel. It could be really polished.
Ever since I stopped using Ruby, I never tried to find an alternative in other languages I was using, or they weren't as trivial as Shoes. I kinda miss it.
I think for quite a while, Tk was still a good option where its competition were things like Swing -- enterprise and engineering apps. Especially visualization, quick input dialogs for otherwise CLI apps etc.
Not that visible for regular users.
Tcl/Tk had its issues, and we probably would've been better off with something like Display Postscript, both as a language and display technology, but it was a very pragmatic solution for quite a while. I'd still say that a lot of ad-hoc UIs could probably be done faster with Tk than with some web framework.
The main part of shoes is the API design, all implementations follow the original API as described in the book.
Those were the days,
Maybe I'm just used to {} but is do...end superior to most ruby devs?
foo bar { ... } # bar receives the block
foo bar do ... end # foo receives the block
The later, paired with the non-mandatory parentheses for calls, allows to read and write some really neat stuff.The former is most often used for one-liners indeed.
I don't think SEO is the main thing Shoes needs for viability.