Ruby 如何看待 rubyspec 停止开发?

foxzool · 2015年03月09日 · 最后由 hbin 回复于 2015年03月30日 · 2285 次阅读
共收到 7 条回复

http://rubini.us/2014/12/31/matz-s-ruby-developers-don-t-use-rubyspec/

At the time (around version 1.8.3-4), MRI had almost no tests

是我理解错了吗? Ruby 1.8 的时候还没有写测试的?

matz不想让ruby语言标准化? 不需要spec, unit test 就是spec? MRI unit tests are the spec. https://github.com/ruby/ruby/tree/trunk/test/ruby

可是js, java都有spec啊,为何ruby不行?

Instead of contributing to RubySpec, the MRI developers write their own tests. That is their choice to make. 为何rubyspec的作者不参与mri unit tests,把测试写的完善一些呢?

When I first began contributing to Rubinius in late 2006, I knew two things: I wanted Rubinius to be successful, and I wanted it to accurately reflect MRI behavior so that developers could simply switch to Rubinius to run their Ruby programs. At the time (around version 1.8.3-4), MRI had almost no tests.

作者想凭一己之力战胜MRI team和matz,太辛苦了. 不过还是有成效的,mri意识到代码可靠性的重要,并引入了单元测试

#1楼 @chiangdi 如何确认这一点呢? 不过brain的话应该是可信的吧?

看到这个问题,我以为我进了知乎。

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册