Joao Pedrosa
1/27/2005 6:35:00 PM
Hi,
On Fri, 28 Jan 2005 02:55:46 +0900, Jim Weirich <jim@weirichhouse.org> wrote:
> We will be introducing Ruby to our XP Users group in Cincinnati next week.
> I thought it would be fun to create a list of "Ten Things Every Java
> Programmer Should Know About Ruby" to help the transition. I've got a
> number of things in my head, but would love to hear ideas from the mailing
> list.
>
> So go ahead and submit your ideas. What things should a Java programmer
> be aware of when starting out in Ruby?
1- Ruby does not have type casting.
2- Try to not think about interfaces, but enjoy fully the dynamic typing.
3- No overload of methods.
4- Enjoy closures/blocks.
5- Don't worry about performance until the program/library has been made.
6- Web-development is possible with other languages besides Java.
Enjoy FastCGI and mod_ruby. Give Rails a shot.
7- Ruby has O/R mappers, so find your Ruby "hibernate", but drop any
preconceptions.
8- Ruby has MVC and OO programming and libraries, but drop any preconceptions.
9- Ruby is a language to be used everywhere. You use it even in
templates. No need for "Velocity/JSP."
10- Ruby is not a Silver Bullet, unlike Java, right? :-)
Cheers,
Joao