Lucian Ghinda
All about coding

All about coding

Follow
homeRuby/Rails Tips and TILShortsEssaysAbout meWeekly Ruby NewsletterBlog Newsletter
Tag

Programming Tips

#programming-tips

More content

Read more stories on Hashnode


Articles with this tag

Bugs, errors and causes from an 1975 paper

Aug 11, 20233 min read

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...

Bugs, errors and causes from an 1975 paper

About Ruby: pass by value or pass by reference?

Jul 12, 20238 min read

Investigate Ruby's approach to passing objects in methods and assignments · Here is a simple code in Ruby: def init_options(options) options = {...

About Ruby: pass by value or pass by reference?

This week focus: Refactoring

Jun 13, 20232 min read

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,...

This week focus: Refactoring

A method's gravity

Feb 10, 20237 min read

#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...

A method's gravity

Refactoring instance variables to local variables in Rails controllers

Jan 18, 20239 min read

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...

Refactoring instance variables to local variables in Rails controllers

Code Design Inertia

Jan 12, 20231 min read

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...

Code Design Inertia