Ruby's primary focus is productivity of program development, and users will
find that programming in Ruby is productive and even fun. Ruby is well suited
for the problem domains such as these:
Text processing
—Ruby's File, String, and Regexp classes help you
process text data quickly and cleanly.
CGI programming
—Ruby has everything you need to do CGI programming,
including text-handling classes, a CGI library, database interface, and even
eRuby (embedded Ruby) and mod_ruby for Apache.
Network programming
—Network programming can be fun with Ruby's
well-designed socket classes.
GUI programming
—GUI tool kit interfaces such as Ruby/Tk and Ruby/Gtk
are available.
XML programming
—Text-handling features and the UTF-8-aware regular
expression engine make XML programming handy in Ruby. The interface to the expat
XML parser library is also available.
Prototyping
—With its high productivity, Ruby is often used to make
prototypes. Prototypes sometimes become production systems by replacing the
bottlenecks with C written extensions.
Programming education
—You can teach students that programming is
fun
Freedom and Comfort
Bill Venners
: One of the design philosophies in the Python
community is providing one and only one way to do things. If you provide fifty
different ways to do the same thing, then you've provided convenience for code
writers. People can write things in their favorite way. The tradeoff is for code
readers. When I read your code, you might have written it one way. When I read
the next person's code, they may have written it another way. So as a reader I
end up needing to be familiar with all ways to accomplish the task, not just my
favorite way of writing it. That's the design tradeoff. The Python community
seems to prefer the one and only one way approach, but Ruby seems to provide
multiple ways to do the same thing.
Yukihiro Matsumoto
: Language
designers want to design the perfect language. They want to be able to say, "My
language is perfect. It can do everything." But it's just plain impossible to
design a perfect language, because there are two ways to look at a language. One
way is by looking at what can be done with that language. The other is by
looking at how we feel using that language—how we feel while programming.
Because of the Turing completeness theory, everything one Turing-complete
language can do can theoretically be done by another Turing-complete language,
but at a different cost. You can do everything in assembler, but no one wants to
program in assembler anymore. From the viewpoint of what you can do, therefore,
languages do differ—but the differences are limited. For example, Python and
Ruby provide almost the same power to the programmer.
http://www.rubyist.net/~matz/小松日记
http://ja.wikipedia.org/wiki/RubyマッチャンのWiki紹介
http://jp.rubyist.net/日本RUBYの会
分享到:
相关推荐
在 Ruby 社区,松本也被称为马茨(Matz)。Ruby 可运行于多种平台,如 Windows、MAC OS 和 UNIX 的各种版本。 学习本教程,您将对 Ruby 有一个全面的了解。 现在开始学习 Ruby! 谁适合阅读本教程? 本教程有助于...
Ruby是一种功能强大的面向对象的脚本语言,她可以使您方便快捷...1993年2月24日Ruby诞生了,1995年12月Matz推出了Ruby的第一个版本Ruby 0.95。不久Ruby便凭借其独特的魅力横扫日本,相信在不久的将来,Ruby将走向世界。
Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book. why the lucky stiff, artist and ...
可能会出乎大家的意料,Ruby 并不是一种近年来才诞生的语言,它的历史可以追溯到 1993 年,Ruby之父Matz开始对脚本语言感兴趣。在通过一些分析和思考之后,Matz 认为脚本语言是可以变得很强大和灵活的,于是他准备把...
The goal of the RubyInstaller project is to provide users and developers working on Windows systems with an easy way to quickly get ...containing a fully functioning baseline MRI (Matz' Ruby Implementation)...
Ruby语言的发明人是日本人松本行弘(Matsumoto Yukihiro),大家亲切的称呼他"Matz"。 可能会出乎大家的意料,Ruby并不是一种近年来才诞生的语言,它的历史可以追溯到1993年,Ruby之父Matz开始对脚本语言感兴趣。在...
Ruby是一种为简单快捷面向对象编程而创建的脚本语言,由日本人松本行弘(まつもとゆきひろ,英译:Yukihiro Matsumoto,外号matz)开发,遵守GPL协议和Ruby License。Ruby的作者认为Ruby > (Smalltalk + Perl) / 2,...
松本行弘(Matz)是日本一家开源软件公司的程序员,有15年的编程经验。在工作中,他希望有一种比 Perl 强大,比 Python 更面向对象的语言。从1993年2月,他开始设计一个全新的自己的语言,1994年12月发布了第一个 ...
Ruby语言的发明人是日本人松本行弘(Matsumoto Yukihiro),大家亲切的称呼他"Matz"。 可能会出乎大家的意料,Ruby并不是一种近年来才诞生的语言,它的历史可以追溯到1993年,Ruby之父Matz开始对脚本语言感兴趣。在...
在 Ruby 社区,松本也被称为马茨(Matz)。 Ruby 是"程序员的最佳朋友"。 Ruby 的特性与 Smalltalk、Perl 和 Python 类似。Perl、Python 和 Smalltalk 是脚本语言。Smalltalk 是一个真正的面向对象语言。Ruby,与 ...
Ruby 是一个注重均衡的语言,它的发明者松本行弘(Yukihiro “Matz” Matsumoto),混合了他喜欢的多门语言(Perl、Smalltalk、Eiffel、Ada 和 Lisp),创造出了一种兼具函数式编程和命令式编程特色的新语言。...
它的创建者是 Yukihiro “Matz” Matsumoto 。这是一门面向对象的语言,同时也支持多种编程范式,它具有自然的语法,很容易上手。尽管 Ruby 是一种通用编程语言,但它最流行的领域,是在开发富 Web 应用程序方面,...
在Ruby社区中,松本也被称为马茨(Matz)。Ruby以其简洁优雅、动态性、面向对象和内置的丰富类库等特点而广受欢迎。 首先,Ruby的语法清晰易懂,采用了易于阅读的语法结构,使得代码可读性较高。这使得初学者能够更...
Ruby是一种纯粹的面向对象编程语言。它由日本的松本行弘(まつもとゆきひろ/Yukihiro Matsumoto)创建于1993年。 您可以在 www.ruby-lang.org 的 Ruby 邮件列表上找到松本...在 Ruby 社区,松本也被称为马茨(Matz)。
它由日本程序员松本行弘(Yukihiro Matsumoto,又名“Matz”)于 1993 年创建。 特点: **面向对象:**Ruby 是一种面向对象的语言,允许程序员创建对象并使用它们来表示现实世界中的实体。 **动态:**Ruby 是一种...
Ruby(中文名:红宝石)是一种简洁、灵活且富有表达力的编程语言,由日本程序员松本行弘(Matz)设计开发。Ruby注重开发者的幸福感,致力于提高开发者的效率和乐趣。下面是 Ruby 的一些主要特点和特性: 1. **简洁...
Ruby是一种为简单快捷面向对象编程(面向对象程序设计)而创的脚本语言,由日本人松本行弘(まつもとゆきひろ,英译:Yukihiro Matsumoto,外号matz)开发,遵守GPL协议和Ruby License。Ruby的作者认为Ruby > ...
它由Yukihiro "Matz" Matsumoto在1995年创建,旨在成为一种对开发者友好且能够快速编写和执行的语言。Ruby的设计受到了Perl、Smalltalk、Eiffel、Ada和Lisp等语言的影响,它支持多种编程范式,包括面向对象、命令式...
Ruby 的最初目的是创建一种真正的面向对象的脚本语言,在当时,在 Ruby 的创建者 Yukihiro “Matz” Matsumoto 看来,这种语言并不存在。这种语言也被设计成简单易用,以对象系统作为语言的核心,而不是仅仅作为...
Ruby语言的主要作者是Yukihiro”Matz”Matzumoto像Perl或者Python一样,Ruby语言是一种被解释的动态的类型的面向对象的程序编程语言。Ruby语言开始迅速上升并且受欢迎是在2004年7月David Heinemeier Hansson发布了...