This is something I will certainly check out. Talk about your
coincidences…
I just heard of Ruby two days ago while checking out the website for “The
Pragmatic Programmer” (btw, that is a must-have book for programmers). I
figured if those authors gave Ruby such high praise than it’s a language I
must learn.
Now, code generation is a fantastic topic. We used CG extensively on our
latest XBox game with great success. I have recently taken it upon myself
to learn more about CG and how it can be used to write good game code (I
didn’t write the CG tools we used - so I have a bit to learn).
After reading about Ruby a bit, the first thing that came to my mind was, “I
wonder if Ruby could be used to easily write code generation scripts”. I’m
happy to learn that a book was written on that very topic.
This is a great book for the community and will hopefully serve as a
model for others to write about using Ruby in the development
process…its a great tool language for those that are stuck in
Java/C++/C#-land. For those of us that are not, its a great language
to build kick-ass applications in
Best,
Rich Kilmer
···
On Thursday, July 17, 2003, at 05:37 PM, Jack Herrington wrote:
Manning is coming out with a new book that uses Ruby as a central
component.
Thanks, though I would like to save the congratulations until a time
when the book has done well and has convinced some folks that Ruby is a
real production language.
I wish I had written it.
Wow. Thanks.
Jack – as I said before, this kind of material
would make a good presentation at the
Ruby Conference in Austin in November .
I certainly hope so. Ruby is an excellent language for teaching applied
computer science topics, like code generation. It’s easy to read and
understand. It’s executable pseudo-code.
If there is one thing to learn from Java it’s that people like to write
in the language that they learn in. So if we move beyond the
fundamentals and show Ruby applied to solving real world issues, then
when people learn that way they will start using Ruby on a routine
basis.
This looks like it might finally break the Java-only tunnel vision at my
company. I reckon I could get them into Ruby by showing them tools that can
augment their Java development. Once they start playing with Ruby for that
kind of thing, I think they’ll see the power and make it a serious choice for
general work.
When does the book come out?
Harry O.
···
On Fri, 18 Jul 2003 08:19, Jack Herrington wrote:
Thanks!
If you are interested in reviewing the book contact me directly and we
may be able to arrange something.
This looks like it might finally break the Java-only tunnel vision at
my
company. I reckon I could get them into Ruby by showing them tools
that can
augment their Java development. Once they start playing with Ruby for
that
kind of thing, I think they’ll see the power and make it a serious
choice for
general work.
I’d love to hear if that works.
When does the book come out?
The book came out as an ebook on Monday, and is at the printers right
now. Hardcopy should start shipping in a couple of weeks if you buy
from Manning.
I reckon I could get them into Ruby by showing them tools
that can
augment their Java development. Once they start playing with Ruby for
that
kind of thing, I think they’ll see the power and make it a serious
choice for
general work.
I’d love to hear if that works.
I’ll report back … success or failure.
It’s not so much that they’re anti anything non-Java, just that they don’t
seem to want to try Ruby.
Every time I talk to someone about it, they seem to lump Ruby in with every
other scripting language and believe it’s of no value for “real” work.
They’d rather use BeanShell, which is a scripting language that looks like
Java. I have to admit, I’ve not tried it (because I’ve already found the best scripting language :-), but I can’t imagine it being as neat as Ruby.
The book came out as an ebook on Monday, and is at the printers right
now. Hardcopy should start shipping in a couple of weeks if you buy
from Manning.
Terrific. Being here in Australia, maybe I’ll talk my boss into buying me a
copy of the eBook and then wait for the print version to get here (sometimes
takes a while), especially since Manning offers a refund on the eBook when
you buy the paper version.
Yay! That means I’ll get my copy soon, then. Congratulations, Jack,
and I enjoyed reviewing the book early in the process.
-austin
···
On Fri, 18 Jul 2003 07:31:12 +0900, Jack Herrington wrote:
On Thursday, July 17, 2003, at 03:27 PM, Harry Ohlsen wrote:
When does the book come out?
The book came out as an ebook on Monday, and is at the printers
right now. Hardcopy should start shipping in a couple of weeks if
you buy from Manning.
Ruby has some clear advantages in code generation. It’s clean, easy to
read, easy to maintain, and great at text and XML processing. It also
has good text templating tools. Another advantage is that it is not the
target language. So it’s easy to distinguish the generator from what it
is generating.
Take as an example the EJB generator we have in the book, in just a
couple hundred lines we are able to build: SQL, Entity Beans, Stateless
Session Beans, Data Transfer Objects, Deployment Descriptors, Test JSPs
and test data loading code from a set of XML definition files.
Another nice thing about generators is that, generally, you aren’t
deploying them. So people don’t have to worry about if the customer has
Ruby, or how fast the Ruby code runs. So it’s an ideal place to start
with Ruby, and if you don’t like it, you can always re-code the
generator in something you prefer.
On Friday, July 18, 2003, at 12:32 PM, Austin Ziegler wrote:
Yay! That means I’ll get my copy soon, then. Congratulations, Jack,
and I enjoyed reviewing the book early in the process.
-Jack Herrington http://www.codegeneration.net
Author of “Code Generation in Action” (Manning, July 2003)