Programming types and mindsets

This page summarizes the projects mentioned and recommended in the original post on /r/ruby

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. yard-doctest

    Doctests from YARD examples

    I never used these, but is it like Python's doctests? If so it exists for YARD: https://github.com/p0deje/yard-doctest

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. syntax_suggest

    Searching for unexpected `end` syntax errors takes a lot of time. Let this gem do it for you!

    While not everything maps 1:1 we can still learn from other langs. People told me that automating syntax error detection wasn't possible in Ruby, until it was.

  4. YARD

    YARD is a Ruby Documentation tool. The Y stands for "Yay!"

    I still just document everything using YARD and focus on designing really obvious Object Models and of course write tests. I have tried using sord to convert my YARD type annotations to RBS or RBI, but you still have to fill in missing bits, then use steep and somehow load in RBS/RBI files for other gems and stdlib, and it's just an uphill battle since Ruby is dynamically typed by default. Obviously Dynamic Typing lends itself more to Dynamic Languages, where you can call an arbitrary method and let the language VM figure it out at runtime. Static or Strong Typing lends itself better to compiled languages where everything needs to be resolved at compile time and converted into object code. If I need to work in a compiled language, then I'll use Crystal, which also supports type inference. TypeScript's type syntax is quite nice, but I tend to avoid writing massive JavaScript code bases where a Type Checker helps catch subtle bugs, and instead prefer sticking to minimal amounts of vanilla JavaScriot in order to keep complexity low and not overwhelm the browser.

  5. crystal

    The Crystal Programming Language

    I still just document everything using YARD and focus on designing really obvious Object Models and of course write tests. I have tried using sord to convert my YARD type annotations to RBS or RBI, but you still have to fill in missing bits, then use steep and somehow load in RBS/RBI files for other gems and stdlib, and it's just an uphill battle since Ruby is dynamically typed by default. Obviously Dynamic Typing lends itself more to Dynamic Languages, where you can call an arbitrary method and let the language VM figure it out at runtime. Static or Strong Typing lends itself better to compiled languages where everything needs to be resolved at compile time and converted into object code. If I need to work in a compiled language, then I'll use Crystal, which also supports type inference. TypeScript's type syntax is quite nice, but I tend to avoid writing massive JavaScript code bases where a Type Checker helps catch subtle bugs, and instead prefer sticking to minimal amounts of vanilla JavaScriot in order to keep complexity low and not overwhelm the browser.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Xeme: I'd value your opinion on my new Ruby gem

    5 projects | /r/ruby | 29 May 2023
  • High functionality but decreasing popularity

    4 projects | /r/ruby | 27 Dec 2021
  • Do I not like Ruby anymore? (2024)

    2 projects | news.ycombinator.com | 26 Aug 2025
  • Ruby's official documentation just got a new look

    4 projects | news.ycombinator.com | 25 Aug 2024
  • I Love Ruby

    12 projects | news.ycombinator.com | 18 Dec 2023

Did you know that Ruby is
the 12th most popular programming language
based on number of references?