#programming-tips
Read more stories on Hashnode
Articles with this tag
Half of the errors may result from factors other than the code itself. · Discover the timeless relevance of a 1975 paper that sheds light on the causes...
Investigate Ruby's approach to passing objects in methods and assignments · Here is a simple code in Ruby: def init_options(options) options = {...
Look at your code and identify any areas where you can improve. Refactoring isn't about fixing bugs but improving your code's readability, efficiency,...
#small #methods #code #design #ruby · What is method gravity? What I call Method Gravity means for me: The bigger the method the more new lines of code...
An example of refactoring a controller to use local variable and shorthand hash syntax · I like to use as much as possible the new features in Ruby. In...
Code Design Inertia: The code that will be written in the future will follow the design of the code already written. Inertia is stronger inside a...