Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
A conditional that keeps growing is a design problem, not a style problem.
-
Three rules turn duplication into abstractions through tiny steps, and catch false abstractions before they ever reach the code.
-
Creating objects is a responsibility too.
-
Faced with a new problem, the elegant solution is almost always premature.
-
How to write Ruby tests that survive refactoring: what to test, what to ignore, and how to keep doubles from going stale.
-
Building complex objects in Ruby with composition and modules as roles, and knowing when each one beats inheritance for your design.
-
When to reach for duck typing and when for inheritance in Ruby.
-
Shift the focus from classes to conversations: sequence diagrams, stable interfaces, the Law of Demeter, and practical decoupling techniques in Ruby.
-
Learn how to implement the Singleton pattern in Ruby: built-in module, manual approach, thread safety, the class variable trap, and dependency injection.
-
Explore the philosophy behind software design: preserving changeability, measuring code friction, and balancing technical debt with over-engineering.
-
The Dependency Inversion Principle in Ruby: what it really means, when to use dependency injection, and when to keep your code simple.
-
How to apply the Interface Segregation Principle in Ruby, and why taking it too far can hurt your design.
-
Master the Liskov Substitution Principle in Ruby.
-
Explore the Open-Closed Principle in Ruby through practical examples using inheritance and the Strategy pattern.
-
Master Value Objects in Ruby using the modern Data.define class.
-
Should a Ruby class do just one thing?
-
Master the N+1 problem in Active Record.
-
The complete Ruby testing tutorial: understand fundamentals by building a test framework, then explore Minitest, RSpec, and Rack::Test with practical examples.
-
A step-by-step tutorial for building a Sinatra web application in Ruby.
-
Build a complete, functional URL shortener from scratch with Ruby and Rack.
-
Learn how to implement persistent connections in Ruby using Rack, from streaming bodies and Server-Sent Events (SSE) to real-time WebSockets, with clear examples.
-
Rack: Understand core concepts, routing, middleware basics, and learn how to create your own middleware step by step with examples.
-
ERB is a Ruby templating system to embed Ruby code in HTML.
-
Explore Ruby’s libraries ecosystem, covering the Core Library, Standard Library, RubyGems, Bundler, how to load libraries, and manage dependencies.
-
Learn why the preinstalled Ruby on macOS is outdated, unsupported, and incompatible with modern gems.
-
Learn how to install Ruby on any OS with this step-by-step guide!
-
Tailwind CSS can be installed and used in several ways.
-
How to build a cookie bar step by step in Ruby on Rails, and only install cookies if the user gives consent.
-
How to seed your database in Rails step by step, with your own task to automate the process and using a gem to generate actual data.