`
gigix
  • 浏览: 352966 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

为什么说Ruby好过Java

阅读更多
Sample of Gosling build script:
https://gosling.dev.java.net/source/browse/*checkout*/gosling/trunk/gosling/Gosling.java?content-type=text%2Fplain

实在没话说了。
分享到:
评论
54 楼 aries211 2006-11-19  
讨论来讨论去,有意思没?
我觉得这种话题挺无聊的
53 楼 fxzeng 2006-10-29  
奇怪的问题,
奇怪的帖子,
;)
52 楼 cngump 2006-10-27  
少比较.多学习.
51 楼 totobacoo 2006-10-23  

没想到这个帖子会有这样的发展路线,真是无语……
50 楼 Godlikeme 2006-10-23  
roseanne 写道
引用
ok,good, (as for) is a misusage here. The first (a) can be omitted, (begin with) should be ok. (guess out) is not quite often used, however infer is too formal.


No, that is not good. Do NOT PICK on someone's English or Chinese errors, as long as you understand what him/her is talking about. There is an exception for English teacher, he/she is allowed to be picky in his/her class/homework/etc, even that, but not when he/she is on the street.

Even native speakers make spelling/grammar mistakes all the time, let alone non-native speakers. Once I did do something like that, I found one of my students who made many misspellings, I tried to correct them. As a result, I found out he was a Iranian raised in French language environment. Haha!



Thanks
49 楼 Godlikeme 2006-10-23  
roseanne 写道
cookoo 写道


Aha, I didn't know it was you.  Welcome here, Ranchgirl! (for CJSDN fame)

I understand what you talked about the status of boring job market. Well, even if you decided to live with IBM mainframes for the rest of your life, Ruby is still a good choice to have some fun.


Thanks cookoo! I am not any fame, but a regular person who makes mistakes regularly like GodLoveMe pointed out.

As to Ruby, if I assume that you guys are in high-school, then I have just barely got out kindergarten, I came here to learn. That is it.

If I ask elementary-school questions, please do not laugh at me... Of course, I will do my homework first.

Thanks!



Really kind of you to say so.
48 楼 roseanne 2006-10-23  
cookoo 写道


Aha, I didn't know it was you.  Welcome here, Ranchgirl! (for CJSDN fame)

I understand what you talked about the status of boring job market. Well, even if you decided to live with IBM mainframes for the rest of your life, Ruby is still a good choice to have some fun.


Thanks cookoo! I am not any fame, but a regular person who makes mistakes regularly like GodLoveMe pointed out.

As to Ruby, if I assume that you guys are in high-school, then I have just barely got out kindergarten, I came here to learn. That is it.

If I ask elementary-school questions, please do not laugh at me... Of course, I will do my homework first.

Thanks!

47 楼 roseanne 2006-10-23  
引用
ok,good, (as for) is a misusage here. The first (a) can be omitted, (begin with) should be ok. (guess out) is not quite often used, however infer is too formal.


No, that is not good. Do NOT PICK on someone's English or Chinese errors, as long as you understand what him/her is talking about. There is an exception for English teacher, he/she is allowed to be picky in his/her class/homework/etc, even that, but not when he/she is on the street.

Even native speakers make spelling/grammar mistakes all the time, let alone non-native speakers. Once I did do something like that, I found one of my students who made many misspellings, I tried to correct them. As a result, I found out he was a Iranian raised in French language environment. Haha!

46 楼 Godlikeme 2006-10-22  
cookoo 写道
Godlikeme 写道
roseanne 写道
引用
这位的英文实在是。。。,至少时态搞得比较混乱。


Haha, One more attacker on my English, this is not new, and which only happened/happens on Chinese forums. Haha, what an interesting cultural phenomenon!!!!

Rarely see people in Chinese forums attack/correct wrong Chinese, there are a lot! Here is not an exception...


At least , no tense in chinese,hehe.
As for(as for + noun) English is a (missing) foreign language,we must begin with(by) understanding the syntax. however, A (missing) little error may cause confusion, while chinese (capitalize it) not, we can guess out(no such phrase...use infer) original meanings even with syntax error(s) (plural).
That's all, forgive my nonsense,please.


ok,good,  (as for) is a misusage here. The first (a) can be omitted, (begin with) should be ok. (guess out) is not quite often used, however infer is too formal.
45 楼 cookoo 2006-10-22  
roseanne 写道
Here is a comparison in the job market
http://www.indeed.com/jobtrends?q=Java+programmer%2C+C%2B%2B+programmer%2C+COBOL+programmer%2C+Ruby+programmer

Java programmer, C++ programmer, COBOL programmer, Ruby programmer Job Trends

If you like, you can add FORTRAN/Perl programmer too.

Try them!!!


Aha, I didn't know it was you.  Welcome here, Ranchgirl! (for CJSDN fame)

I understand what you talked about the status of boring job market. Well, even if you decided to live with IBM mainframes for the rest of your life, Ruby is still a good choice to have some fun.
44 楼 cookoo 2006-10-22  
Godlikeme 写道
roseanne 写道
引用
这位的英文实在是。。。,至少时态搞得比较混乱。


Haha, One more attacker on my English, this is not new, and which only happened/happens on Chinese forums. Haha, what an interesting cultural phenomenon!!!!

Rarely see people in Chinese forums attack/correct wrong Chinese, there are a lot! Here is not an exception...


At least , no tense in chinese,hehe.
As for(as for + noun) English is a (missing) foreign language,we must begin with(by) understanding the syntax. however, A (missing) little error may cause confusion, while chinese (capitalize it) not, we can guess out(no such phrase...use infer) original meanings even with syntax error(s) (plural).
That's all, forgive my nonsense,please.
43 楼 charon 2006-10-22  
花花公子 写道
maven就算了吧,只能作为ruby比java优秀的另一佐证,严重违背KISS原则。


从代码实现的角度来说,任何一款非量身定制的软件/工具都严重违反了KISS原则。RAILS同样也是。
从使用者的角度来说,那就只是品味问题。maven2在某种意义,是最贴近rails哲学的一个工具。遵循它的惯例,你就不需要写任何非定制的build脚本。唯一要做的就是指定依赖。
放下有色眼镜,看到的世界自然会精彩得多.
42 楼 Godlikeme 2006-10-22  
roseanne 写道
引用
这位的英文实在是。。。,至少时态搞得比较混乱。


Haha, One more attacker on my English, this is not new, and which only happened/happens on Chinese forums. Haha, what an interesting cultural phenomenon!!!!

Rarely see people in Chinese forums attack/correct wrong Chinese, there are a lot! Here is not an exception...


At least , no tense in chinese,hehe.
As for English is foreign language,we must begin with understanding the syntax. however, little error may cause confusion, while chinese not, we can guess out original meanings even with syntax error.
That's all, forgive my nonsense,please.
41 楼 Godlikeme 2006-10-22  
roseanne 写道
引用
这位的英文实在是。。。,至少时态搞得比较混乱。


Haha, One more attacker on my English, this is not new, and which only happened/happens on Chinese forums. Haha, what an interesting cultural phenomenon!!!!

Rarely see people in Chinese forums attack/correct wrong Chinese, there are a lot! Here is not an exception...
40 楼 roseanne 2006-10-22  
[url]http://beust.com/weblog/archives/000382.html [/url]



Good article and many good responses too.

Thanks, Godlikeme!!!
39 楼 ajoo 2006-10-22  
roseanne 写道
引用
这位的英文实在是。。。,至少时态搞得比较混乱。


Haha, One more attacker on my English, this is not new, and which only happened/happens on Chinese forums. Haha, what an interesting cultural phenomenon!!!!

Rarely see people in Chinese forums attack/correct wrong Chinese, there are a lot! Here is not an exception...

嗯,很有强人的潜力.加油!
38 楼 roseanne 2006-10-22  
引用
这位的英文实在是。。。,至少时态搞得比较混乱。


Haha, One more attacker on my English, this is not new, and which only happened/happens on Chinese forums. Haha, what an interesting cultural phenomenon!!!!

Rarely see people in Chinese forums attack/correct wrong Chinese, there are a lot! Here is not an exception...
37 楼 Godlikeme 2006-10-22  
http://beust.com/weblog/archives/000382.html
这篇文章 ,大家有兴趣看看。我翻译其中的一段吧:
Again, and at the risk of repeating myself:  I love Ruby.  I truly do.  It's one of the few languages that I have studied these past years that made me go "Yeah!" whenever I read about a feature I didn't know of yet.  I find its syntax and concepts extremely elegant and powerful at the same time.  I don't like everything about it, of course, but Ruby is by far the number two language in my toolbox behind Java, with number three far, far behind.  But it's a complex language that contains a lot of advanced idioms which will be very hard for PHP and Visual Basic programmers to absorb.

Admittedly, PHP and Visual Basic are cheap targets (we're talking about languages that don't even have name spaces!), but like it or not, they are the Web standard.  Anyone who wants to succeed in the Web arena must have a compelling story to tell to these programmers, something that will convince them to switch to Rails on technical grounds but that will also be an easy sell to their management.  Rails can't succeed without these two conditions, and I am predicting that Ruby -- and Ruby on Rails -- will always remain a tough sell to any organization that contains more than ten people.

再一次,冒险重复下自己吧:我爱Ruby,真的。是我多年来学习的中,能够让我每当读到一个还未了解的特性就认同的为数不多的语言之一。她的语法和概念是那么的优雅,同时又是那么的强大。当然,并不是Ruby所有的东西我都喜欢,但是目前,Ruby 在我的工具箱中次于java,排名第二,第三名则与他相距甚远。
Ruby是一门复杂的语言,她具有的很多高级的语言特性是PHP和VB程序员很难理解的。

诚然,PHP和VB既定目标不是那么远大(我们在讨论甚至连名字空间都没有的语言),但无论喜不喜欢,他们是web 标准。谁想在web领域成功,那就的有足够说服力、动听的故事,来说服这些程序员,让他们转到Rails技术背景,如果这样那也会很容易兜售给他们的管理者。这两个目的不达到,Rails很难成功。我猜测,Ruby和Ruby on rails 还是很难兜售给那些超过10个人的团体。

Ruby on Rails itself.

Ruby on Rails is just too advanced.  I'm serious.  It has an incredible amount of slick features involving a lot of magic (both Ruby-related and invented by David himself).  For talented developers, these features are a dream come true...  autowiring of the MVC, scaffolding, defaults over configuration, unit tests (even integration tests now, nice!), you name it.  David hit every single pain point that Web developers (regular developers even) have been facing these past years.  Ruby on Rails in itself is a great example of how to nicely package what we have learned about software development these past five years.

But it's still a very wide gap for corporate developers to cross.  Sometimes, too much magic is too much magic, and it can definitely be the case that the flow of code is too direct or too clever to be understandable by regular developers.  Developers were able to do the jump from imperative to object-oriented programming, but it was a hard fight.  I don't believe the Web world will ever be ready to embrace the Rails cleverness.

认真地说,Ruby on Rails实在太高级了。她拥有太多的灵活特性,包括很多"magic"(Ruby相关的和David自己搞的)。对于天才开发人员,这些"magic"是梦想成真...。自动编织 MVC、脚手架、默认配置、单元测试(甚至于集成测试,没的说!)、凡你想得出的。David搞定了 WEB开发人员(甚至于regular开发人员)这些年来面对的每一个难点。Ruby on rails本身就是一个绝佳的例子,她展示了如何优雅的打包我们过去五年所学的软件开发。

可是,对于团体开发人员们来说,仍然有很一道鸿沟需要跨越。有时,太多的"magic"就是太多的魔法,可以肯定的是,代码的流太直接或者说太巧妙是regular开发人员没法理解的。开发人员能够实现面向过程到面向对象编程的跨越,不过也够难的了。我相信web世界还没有为Rails的灵活做好准备。

36 楼 Godlikeme 2006-10-22  
gigix 写道
Godlikeme 写道
写好了就放在用好了,有什么好改的,里面又没什么复杂的业务逻辑。

项目一开始只有几个简单的测试,然后测试越来越多,然后有了functional test suite,然后有了performance test suite,然后要打包发布……半年都不改?莫非这个项目半年做的事情都那么类似?

说半年不改有点过分哦,可即便天天改,又能怎么样呢,不明白有什么就那么难改。
35 楼 Godlikeme 2006-10-22  
roseanne 写道
I was a C/C++ developer for a long time, developed in Java for many recent years, then spend a month to review my C/C++, and got a C/C++/Java conjunction/communication contract for 5 months, now I got a new job 3 months ago, and developed in Ruby and Ruby on Rails for two months, now I am back in C++.

I don't like my current job too much, tried to find a new job doing Ruby.

However, there is almost no Ruby jobs available, but tons of Java jobs. I might go back to do J2ME conjunction with C++, and wap.

Languages are just tools to get the job done!

Fighting for which one is better to death, that is the most stupid thing you could do on earth.

COBOL was born in 1950's and COBOL is still very much alive in the US. Believe me or not, COBOL programmers are paid very good in the US, because it is hard to find good ones.


哈哈,物以稀为贵!!!



这位的英文实在是。。。,至少时态搞得比较混乱。

首先明确一点,我们不是搞开发语言的,只是做软件的。不觉得讨论开发语言本身对我们具有多大的意义。

做软件最大的问题来自于业务需求,对业务领域抽象、建模,把这些搞清楚不是任何工具能够替代的,,做系统往往会发现一些实现代码非常复杂,这些并不是由语言本身的特性所决定的,而是业务需求。COBOL这种老掉牙的语言依然能够活得好好的就是一个例证,那些银行核心系统复杂的数据处理逻辑用JAVA作也好不到哪里去。这块别跟我较真了,非要比COBOL我没话说。
再有就是软件的可测试性、可维护性等。谁都不知道一段代码会用多久,千年虫就是例子。代码是要被数人改千遍读万遍的,这和语言本身的关系有多大呢? 我觉得没多大关系,主要还是得依靠项目管理,和开发人员的水平。
从汇编、C、C++、MATLAB、C#、JAVA、一路学下来,给我的感触就是这样。现在用JAVA无非是混口饭吃,说不上哪天就上大机做COBOL了。
废话不多说,真正搞精通一门语言就不容易了,非要争个好坏的没什么意义。

相关推荐

    From Java to Ruby

    然而,Ruby鼓励使用异常来控制程序流程,而在Java中,过度使用异常会被视为不良实践。 在开发工具和生态系统方面,Java有成熟的IDE如Eclipse和IntelliJ IDEA,以及Maven和Gradle等构建工具。Ruby则有RubyMine作为...

    深度剖析Ruby vs Java误区

    在深入探讨Ruby与Java之间的误区时,我们首先要澄清一个普遍的误解:Ruby只适合小型项目,而Java更适合大型复杂项目。...总的来说,选择Ruby还是Java应基于项目的实际需求和团队的技术背景,而非固有的偏见或误解。

    ruby生成java文件的工具

    标题中的“ruby生成java文件的工具”指的是使用Ruby编程语言编写的一种工具,它能够自动生成Java源代码。这种工具通常用于提高开发效率,特别是在需要大量重复性代码的情况下,如数据访问对象(DAO)、控制器...

    从 Java 到 Ruby_ 每一个管理者应该知道的事情

    标题 "从 Java 到 Ruby_ 每一个管理者应该知道的事情" 提示我们,这篇文章或书籍将探讨在 IT 管理领域从使用 Java 转向 Ruby 的关键点。Ruby 是一种动态类型、面向对象的编程语言,以其简洁、灵活的语法和强大的元...

    Ruby-JRuby一个Ruby语言的Java实现

    JRuby的实现方式是将Ruby源代码转换为Java字节码,然后在JVM上执行。这种转换过程涉及到词法分析、语法解析、抽象语法树(AST)构建以及最终的字节码生成。JRuby还支持Just-In-Time(JIT)编译,这意味着频繁执行的...

    一个面向Ruby、基于Java虚拟机(JVM)的解释程序

    jvm,JRuby是面向Ruby、基于Java虚拟机(JVM)的一种解释程序,它结合了Ruby语言的简易性和功能强大的JVM的执行机制,包括与Java库 全面集成。适用人群:计算机,电子信息工程、数学等专业的大学生课程设计、期末大...

    Java与Ruby在Web开发上谁更高效

    【Java与Ruby在Web开发上...虽然Ruby on Rails以快速开发和简洁语法著称,但对于追求更强大、更灵活的开发流程的Java开发者来说,Java提供了一条不同的高效开发路径。选择哪种语言取决于项目需求、团队技能和开发偏好。

    From java to Ruby

    《从 Java 到 Ruby》不仅为 Java 开发者提供了一条通往 Ruby 的清晰路径,同时也为管理层提供了充分的理由去考虑将 Ruby 纳入技术栈。无论是对于个人技能的提升还是组织的整体发展,本书都是一份宝贵的资源。通过...

    Java世界的Ruby

    Java与Ruby的结合不仅体现了这一点,也为开发者提供了更多选择和可能性。通过合理利用Ruby的灵活性和Java的强大功能,开发者能够在保持高质量的同时加快开发进度。在未来,我们可以期待看到更多关于这两种语言结合的...

    利用Ruby简化你的Java测试.

    利用Ruby简化你的Java测试.rar利用Ruby简化你的Java测试.rar利用Ruby简化你的Java测试.rar利用Ruby简化你的Java测试.rar利用Ruby简化你的Java测试.rar利用Ruby简化你的Java测试.rar利用Ruby简化你的Java测试.rar利用...

    基于Ruby+Java搜索引擎原理与实现

    《基于Ruby+Java搜索引擎原理与实现》是一部深入探讨搜索引擎技术的书籍,虽然只涵盖了前三个章节,但已足以让我们对搜索引擎的基本运作有初步的理解。在本文中,我们将围绕Ruby和Java这两种编程语言如何应用于搜索...

    from java to ruby -things every manager should know

    本书由 Bruce Tate 撰写,旨在帮助 Java 开发者了解并过渡到 Ruby 领域,同时也为管理者提供了宝贵的视角,让他们理解这两种语言之间的差异及其对企业的影响。 #### 重要知识点概览 ##### Java 与 Ruby 的比较 1....

    Ruby-rubyinstall安装RubyJRubyRubiniusMagLevorMRuby

    2. JRuby:JRuby是Ruby的一个Java实现,它可以在Java平台上运行,并且能够利用Java的性能和生态系统。JRuby的最大优点是与Java库的无缝集成,以及在多线程环境下的高效执行。 3. Rubinius:Rubinius是一个用Ruby...

    对Ruby VS Java误区的深度剖析

    Stuart Halloway的"Ruby VS Java 之怪谈"系列博客深入探讨了关于这两种语言的一些常见误解,旨在为开发者提供更全面的理解。以下是对这些误区的详细分析: 误区一:Ruby适合小型项目,Java适合大型复杂项目。...

    ruby2java:查尔斯·纳特(Charles Nutter)的JRuby项目的分支,该项目从Ruby源代码构建Java .class文件-java project source code

    Ruby2Java项目则更进一步,它尝试直接将Ruby源代码转换为Java字节码,从而避免了JRuby中的解释阶段,理论上可以提升运行速度。这种编译方式让Ruby程序能够像Java应用一样被预编译,减少运行时的解析开销。 在项目源...

    ruby_vs_java_recursion:Ruby 与 Java

    ruby_vs_java_recursion Ruby vs Java:为什么世界会用 Java 更快地结束? 该 repo 显示了 Hanoi Towers 上的经典递归调用。 上有Java、JRuby、Ruby实现的比较结果

    Ruby开发环境的配置

    Ruby 开发环境的配置 Ruby 是一种流行的编程语言, Rails 是基于 Ruby 的一个 Web 应用框架。本文档将指导您如何配置 Ruby 开发环境,包括安装 Ruby 和 Rails、配置开发环境、安装数据库等步骤。 一、安装 Ruby ...

    java-faker, 将流行的ruby faker gem 引入 Java.zip

    java-faker, 将流行的ruby faker gem 引入 Java Java Faker 这里库是 ruby gem ( 以及perl库的Data::Faker )的stympy/faker端口,它生成假数据。 当你开发一个新项目并且需要一些漂亮的数据来展示时,它很有用。用法...

Global site tag (gtag.js) - Google Analytics