Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 396 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 396 Bytes

Ruby Idioms

This is a collection Ruby idioms that we adopted in our coding style. This is the style in which Futureworkz recommends for greater readability between coders.

No use of while or for loop or loops of any kinds

We highly discourage usage of loops. Instead we prefer block iterator methods.

products = Products.all
products.each do |product|
  puts product.title
end