CODIGO
log in

Ruby

AKA jruby, macruby, rake, rb, rbx

Ruby logo

Summary

Ruby is a dynamic, object-oriented programming language designed for simplicity and productivity. It features elegant syntax, natural expression, and flexible metaprogramming capabilities.

Paradigms

object-oriented, imperative, functional, reflective

Domains

web development, server-side applications, scripting, automation, text processing

Key Features

first-class functions, closures, modules, mixins, reflection, meta-programming, string interpolation, destructuring, iterators/generators, lambdas, decorators/annotations

Typing

dynamic system, structural typing, strong typing, partial inference, runtime checking, moderate type coercion, optional type annotations

Compilation

interpreted, interpreted with JIT compilation

Influenced By

Perl, Smalltalk, Eiffel, Lisp, Python, CLU, C++, BASIC, Ada, Emacs, Lua, Dylan

Ratings

Startup time
▊▊
▊▊
▊▊
▊▊
▊▊
Memory usage
▊▊
▊▊
▊▊
▊▊
▊▊
Computation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Compilation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Community size
▊▊
▊▊
▊▊
▊▊
▊▊
Learning resources
▊▊
▊▊
▊▊
▊▊
▊▊
Job market demand
▊▊
▊▊
▊▊
▊▊
▊▊
Learning curve
▊▊
▊▊
▊▊
▊▊
▊▊
Cognitive load
▊▊
▊▊
▊▊
▊▊
▊▊
Syntax complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Semantic complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Memory safety
▊▊
▊▊
▊▊
▊▊
▊▊
Concurrency ease of use
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib size
▊▊
▊▊
▊▊
▊▊
▊▊
Backwards compatibility
▊▊
▊▊
▊▊
▊▊
▊▊
Documentation quality
▊▊
▊▊
▊▊
▊▊
▊▊

File extensions

rb, builder, eye, fcgi, gemspec, god, jbuilder, mspec, pluginspec, podspec, prawn, rabl, rake, rbi, rbuild, rbw, rbx, ru, ruby, spec, thor, watchr

External Links

Status active
Type programming
Created 1995
Designed by Yukihiro Matsumoto
Developed by Ruby Community
PyPL Index #17
TIOBE Index #21
GitHub rank #11

Popularity [PyPL]

Code Example

Loading...