# Ruby

> A programming language designed to make programmers happy, famous for Ruby on Rails.

- Level: Intermediate
- Topics: Software
- URL: https://tidbit.legios.com.ar/ruby/
- In Spanish: [Ruby](https://tidbit.legios.com.ar/es/ruby/)

**Ruby** is a programming language created by Yukihiro Matsumoto, known as Matz, in Japan and first released in 1995. His stated goal was programmer happiness: code should be pleasant to write and read. A line like `3.times { puts "hello" }` prints hello three times and reads almost like a sentence. Ruby is usually run by an interpreter, like Python, and everything in it, even a number, is an object you can call methods on.

Ruby became world-famous through **Ruby on Rails**, a web framework released in 2004 by David Heinemeier Hansson. Rails gave developers a ready-made structure for a database-backed website and sensible defaults for everything, so a small team could build a working product in days instead of months. That made it a favorite of startups in the late 2000s.

GitHub and Shopify are two well-known companies built on Rails, and both still run big Rails applications. Ruby is no longer the trendy choice it once was, and it is slower than compiled languages, but it remains a solid, productive tool, and many of the ideas Rails popularized now appear in web frameworks for other languages.

## An analogy

A well-designed kitchen where the utensils hang exactly where your hand goes. Rails is the set menu that comes with it: follow its recipes and dinner is ready fast.

## Keep in mind

- Created by Yukihiro Matsumoto; first released in 1995.
- Designed for readable, expressive code and programmer happiness.
- Ruby on Rails (2004) made it a startup favorite for web apps.
- GitHub and Shopify are built on Rails.

## Go deeper

- [Ruby (official site)](https://www.ruby-lang.org/en/)
- [Ruby on Wikipedia](https://en.wikipedia.org/wiki/Ruby_(programming_language))

## Related terms

- [Programming language](https://tidbit.legios.com.ar/programming-language/): A precise, written language people use to give instructions to a computer.
- [Python](https://tidbit.legios.com.ar/python/): A popular programming language known for being easy to read and quick to write.
- [Framework](https://tidbit.legios.com.ar/framework/): A ready-made skeleton for an app: it sets the structure and calls your code.
- [Database](https://tidbit.legios.com.ar/database/): An organized store of data that programs can search and update safely.
- [Website](https://tidbit.legios.com.ar/website/): A set of web pages under one address, stored on a server and opened in a browser.
- [GitHub](https://tidbit.legios.com.ar/github/): A website where teams store their code with Git and work on it together.
- [Shopify](https://tidbit.legios.com.ar/shopify/): A platform that lets any business set up and run its own online store.
- [Compiler](https://tidbit.legios.com.ar/compiler/): A program that translates source code into instructions a computer can run directly.
