Comments are the Devil - RUBY 532

January 26th, 2022 · 59 mins 18 secs

About this Episode

Well, comments may not be satanic, but they CAN be a nuisance if not used carefully. In this episode, the Ruby Rogues sit down with Matheus Richard to discuss why he isn’t a fan of comments. They unpack the WHY behind “use code, not comments”, tools to help you sort through variables and avoid “shotgun surgery”, and an alternative to magic numbers, TODOs, and notes.

“Use code, not comments.”
- Matheus Richard

In This Episode

To code or comment? Matheus breaks down HOW to know which will be best
Matheus and Luke debate on how helpful comments REALLY are (and why one may not prepare you for the other)
The team talks tools to determine what will help you sort through variables and avoid “shotgun surgery”
Hate magic numbers, TODOs, and notes? Matheus offers a solution to your woes (hint-hint: stop procrastinating)

Sponsors

Picks