DEV Community

Discussion on: Make Your Pseudocode Your Real Code

Collapse
 
ben profile image
Ben Halpern

Very very well explained. This applies to all sorts of languages, but it's extremely true in Ruby. The language's cleanliness is lost if you don't leverage it.

Collapse
 
cannikin profile image
Rob Cameron

Thanks! I was working on a random controller or presenter in Rails a couple of months ago and after some refactoring I sat back and looked at it and realized it almost looked like some pseudocode that I'd write on a whiteboard when planning. I looked through the codebase and ended up seeing that pattern everywhere and realized that's basically what most "good" code ends up looking like—I just hadn't heard anyone phrase it as such!