Sandi Metz' Rules For Developers

Here are the rules:Classes can be no longer than one hundred lines of code.Methods can be no longer than five lines of code.Pass no more than four parameters into a method. Hash options are parameters.Controllers can instantiate only one object. Therefore, views can only know about one instance variable and views should only send messages to that object (@object.collaborator.value is not allowed).
Sandi Metz' Rules For Developers #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles