Side-by-side, interactive cheatsheets for Rubyists
exploring new languages. Every example runs live in your browserβno setup,
no installation, no context-switching.
Choose your own path by reordering languages
A natural move for Rubyists, Python is elegant, readable, and dominant in data science and machine learning.
The language of the web, JavaScript is unavoidable, powerful, and capable of running almost anywhere.
Fast, opinionated, and built for the cloud era, Go trades Ruby's expressiveness for simplicity and raw speed.
JavaScript with a type system, TypeScript is able to catch whole classes of bugs before they ship, without abandoning dynamism.
Apple's modern language. Optionals, protocols, and value types make safety and expressiveness first-class.
The language that built the world. Understanding C illuminates Ruby itself, and just about everything else.
Demanding but deeply rewarding, Rust proves memory safety and bare-metal speed aren't in opposition.
Optimal software with no hidden control flow. Like C but with memory safety, error handling, and compile-time code execution built in.
The language behind Flutter, Dart brings sound null safety, async-first design, and ahead-of-time compilation to cross-platform development.
The pragmatic JVM language, Kotlin combines expressive syntax, null safety, and interoperability with Java β popular for Android and server-side development.
Typed Ruby β without leaving home. Crystal's syntax is so close to Ruby that reading it feels familiar from day one, but a static type system catches entire classes of bugs before the program runs.
String | Nil instead of String? makes nilability explicit and compiler-enforcedA modern Lisp for the JVM, Clojure brings immutable data, functional programming, and fearless concurrency to wherever Java runs.
A mature, versatile language from Microsoft, C# blends object-oriented and functional styles with a type system powerful enough to rival TypeScript's.
The language Rubyists most often encounter in enterprise work, Java makes explicit what Ruby hides β types, access modifiers, checked exceptions, and the full machinery of a statically typed object system.
Ruby's spiritual ancestor, Perl established many of the ideas Ruby refined β regex literals, postfix conditionals, CPAN, and the conviction that there's more than one way to do it.
The embeddable scripting language, Lua is the language inside Neovim, Redis, Nginx, and countless game engines β small, fast, and surprisingly deep.
The language of relational databases, SQL is the raw power beneath every Rails Active Record call β understanding it makes your queries faster, your data models clearer, and your debugging sharper.
.where, .joins, and .includes actually doPure, lazy, and relentlessly principled, Haskell enforces immutability and static typing so strictly that if your code compiles, it usually works.
IO, making code easy to reason about and testMaybe and Either replace nil and exceptions with types the compiler forces you to handleC++ is C with a full OOP tower on top β classes, templates, lambdas, the STL, and memory safety via RAII, all the way down to bare metal.
vector, map, sort, transform β Ruby's Enumerable, but statically typedstd::format, ranges, structured bindings, std::optionalThe shell every Rubyist already uses, Bash rewards understanding β the more you know, the fewer Ruby scripts you'll write for things the shell does natively.
${var:-default}, ${var^^}, ${var//old/new} β a mini-language for string manipulation$(( )) β integer math without spawning a subprocessThe language that runs the world's money, COBOL processes trillions of dollars daily β and its verbose, English-like syntax is unlike anything a Rubyist has seen.
PIC 9(7)V99 for a 7-digit decimalADD 1 TO COUNTER instead of counter += 1The original language of scientific computing, Fortran introduced arrays, subroutines, and floating-point arithmetic to the world β and still dominates supercomputing today.
prices * 0.9 discounts every element at oncemap version simultaneouslyThe English-readable .NET language that pioneered RAD β with static typing, LINQ, and the full .NET ecosystem.
If...Then...End If, For Each...NextAndAlso / OrElse short-circuit logic vs And / OrNothing for nil, Me for self, MyBase for superThe disciplined ancestor of modern programming β structured, strictly typed, and the language that taught a generation how to think algorithmically.
begin...end blocks instead of Ruby's implicit block delimitersvar block before any code runs:= for assignment, = for comparison β the reverse of every other languagediv for integer division; / always returns a real numberLook Forward To
The Erlang VM with a Ruby-inspired syntax, Elixir makes fault-tolerant, massively concurrent systems approachable β and beautiful.
The language that defined object-oriented programming, Smalltalk's ideas live inside every Ruby method call, block, and open class.
The original programmable programming language, Common Lisp's macro system lets you reshape the language itself β a power Ruby's metaprogramming only approximates.