The three types of methods in Ruby - DEV Community

In this short post I will look at some patterns in Ruby methods and their naming conventions.The most prominent pattern is delineation of methods that produce a value and no side-effects from methods with side-effects. I achieve this by only using verbs in side-effect-producing method names, whereas methods with only return value get adjectives and nouns.
The three types of methods in Ruby - DEV Community #ruby #rubydeveloper #rubyonrails #dev #types https://rubyonrails.ba/single/the-three-types-of-methods-in-ruby-dev-community

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles