Day 17. Ruby/Tk

Tell me where is fancy bred,

Or in the heart or in the head?

How begot, how nourished?

Reply, reply.

It is engender'd in the eyes …

—William Shakespeare, The Merchant of Venice, Act III, Scene II

Thirty years ago, people normally used command-line interfaces if they interacted with computers in “real time” at all. That type of interface is less common today with the ready availability of high-resolution graphics and the mouse. Every modern operating system has a graphical user interface (GUI), and the average computer user has come to take this for granted.

Of course, what makes life easier for the user often makes life harder for the programmer. A GUI-based application is harder to code because it is so highly presentation oriented. ...

Get Sams Teach Yourself Ruby in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.