3 ms·
out of curiosity how many ruby codebases have you worked on?
by pmgei48t 3y ago
out of curiosity how many ruby codebases have you worked on?
- stickfigure 3y agoWhy do you ask that? I worked in Ruby at Pivotal, with lots of people who espouse the "comments are just lies waiting to happen" philosophy. I agree with the parent, it's wholly misguided. Good comments save many, many hours of rediscovery by people who are new to the code - which includes the original author after walking away for a few years. If I had to guess, the anti-comment attitude comes from consultants who re-implement the same CRUD webapp on Rails over and over. Sure - no surprises, no comments, fine.
- pmgei48t 3y ago'cause i have no trouble reading ruby code without comments and neither do most rubyists in my experience
- stickfigure 3y agoReading code is easy. What's hard is to read the mind of the programmer who wrote it. The reason we argue about Chesterton's Fence is that Chesterton was too damn lazy to leave a comment.