33 followers
I write here quick thoughts, ideas, tips, and learnings about programming, programmers, and building software. Most of my focus is on Ruby, Rails, Hotwire and everything about web applications.
#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...
Emotion is motion and words shape our reality · A bit of (personal) history I learned Ruby, I think, around 2007, and back then, it was a language...
This is primarily a response to a Reddit comment but I have encountered this line of pushback against short-hand syntax multiple times. Thus I think...
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...
When thinking about testing, consider the following points: You are not writing tests only for yourself but also for other developers who might join...