🔤Ruby
A language made to be nice to write. It is best known for Rails web apps.
Think of it like
Think of it like a pen that writes neatly on its own. It was made to make the person writing happy.
Example
Jack builds a booking site for his yoga class in a weekend with Ruby on Rails.
Why it matters
Ruby showed that a language could put the writer's joy first. Rails shaped how many web frameworks work today.
Definition
Example code
ruby
puts "Hello, world!"
3.times { puts "Hi" }Common mistake
Key takeaways
- 1Made for people. Reading it should feel easy.
- 2Famous for Rails. A web framework made it popular.
- 3Everything is an object. Even the number 3 has methods.