Ruby Best Practices - Method Arguments

Simple rules for ordering Ruby method arguments — put optional arguments last, and switch to keyword arguments when you have more than one optional parameter.

January 12, 2024 · 2 min
Photo by Michael Dziedzic on Unsplash

Love your error messages as thyself

Stop ignoring error messages and start reading them — it will make you a better developer and help you understand your language from the inside out.

May 17, 2022 · 5 min
Photo by Debby Hudson on Unsplash

Writing code for your future self

A set of guidelines to write clean, readable code that you — and your future self — will thank you for.

November 21, 2021 · 7 min
Mastodon