Introduction To Ruby For Java Developers引入到Ruby为Java开发
Most Java programmers attempt to use Ruby like they use Java, similar to the mistakes C/C++ programmers commit when transitioning to Java.大多数Java程序员试图使用红宝石一样,他们使用Java ,类似的错误的C / C + +程序员承诺时,转换到Java语言。 However Ruby provides a cleaner programming paradigm which if embibed can be effectively used to solve your problems.但是红宝石提供了一个洁净的编程范式,如果embibed可以有效地用来解决您的问题。 But you need a good introduction, right?但你要有一个好的导言,对不对?
Here is a good这里是一个很好的 introduction to Ruby引入到Ruby for Java developers.为Java开发。 Reading through the article I could sense the underlying spirit of Ruby programming.读通过的文章我可以感觉的基本精神,红宝石编程。 There are several things in Ruby which should be adopted by Java to remain relevant moving forward and to bring more fun in Java programming.有几件事,在红宝石所应采取的用Java ,以保持相关性向前迈进,并带来更多的乐趣,在Java编程。 I would definitely, despite my earlier reservations, do a decent project in Ruby as soon as I get a chance.我想,肯定,尽管我刚才的保留,做一个像样的项目在红宝石尽快我得到一个机会。
On a different note I found the perfect solution to the getter and setter problem in Java.对不同的注意,我发现完美的解决方案,向吸气和二传手的问题,在Java 。 I plan to code it up at the earliest opportunity.我计划代码,它在最早的机会。 I can assure you that it will solve your getter-setter headache forever and no more dumb code generation using IDE or even with the compiler etc. and yet it will fully serve the underlying requirements of the paradigm.我可以向你保证,它将解决您的吸气制定者头痛的永远没有更多的哑巴代码生成使用IDE或什至与编译器等,但它将充分服务的基本要求的范式。 I may not be able to get it into JSR but it surely will solve your problems even without any Sun support.我未必能够得到它的JSR ,但一定会解决您的问题,即使没有任何新的支持。
Filed under提起下 Headline News头条新闻 , , Java Software Java软件 , , Tech Note技术说明 , , Technology技术 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article电子邮件此文章
You may also like to read您也可以想读 |




