A method's gravity

What I call Method Gravity means for me:The bigger the method the more new lines of code will be added to it.I noticed this while working on various projects: once a method grows, the chances that the next developer will add more lines to it increase.There is a tipping point (like with the gravity of a start) when a method is too big, it will collapse, meaning someone will take it apart and split it into smaller methods. .
A method's gravity #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/a-method-s-gravity

Nezir Zahirovic

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

related articles