Application

223 articles

How to Write Code That Fits in the Brain: Rules and Techniques for Avoiding Complexity and Ensuring Sustainability
Application 2025-02-15

How to Write Code That Fits in the Brain: Rules and Techniques for Avoiding Complexity and Ensuring Sustainability

A review of How to Write Code That Fits in the Brain. A book that shares practical practices for writing code that fits in a person's working memory. Centered on field-honed rules of thumb rather than cognitive-science theory, it offers concrete techniques for avoiding complexity and keeping code sustainable.

#Book Review#Coding
Differences Between Instance Variables, Class Variables, and Class Instance Variables in Ruby
Application 2025-01-31

Differences Between Instance Variables, Class Variables, and Class Instance Variables in Ruby

Summarizing the differences between instance variables, class variables, and class instance variables in Ruby.

#Ruby
Implementing Singleton Pattern in Ruby
Application 2025-01-31

Implementing Singleton Pattern in Ruby

A summary of how to implement the Singleton pattern in Ruby. It introduces ways to guarantee that only one instance of a class exists, using the standard Singleton module, class methods, and constants, so that a single instance can be managed in a thread-safe manner.

#Ruby
Metaprogramming Ruby 2nd Edition
Application 2025-01-06

Metaprogramming Ruby 2nd Edition

A review of Metaprogramming Ruby, 2nd Edition. A book for learning the mechanisms and uses of Ruby metaprogramming. Through the object model and dynamic features, it reveals the nature of Ruby magic, while making clear that truly mastering it takes real effort.

#Book Review#Ruby
Tidy First? ―Experiential Software Design for Individuals
Application 2025-01-06

Tidy First? ―Experiential Software Design for Individuals

A review of Tidy First? Kent Beck's thin but dense book that makes you consider when to tidy your code. From the perspectives of coupling and cohesion, and cost and benefit, it frames tidying decisions empirically. Its arguments are concise and clear.

#Book Review#Software#Software Development#Design
Practical Ruby Programming: Principles and Trade-offs for Effective Code
Application 2024-10-28

Practical Ruby Programming: Principles and Trade-offs for Effective Code

A review of Polished Ruby Programming. A book for those who, having finished the primers, want more practical knowledge. Tracing what Ruby-like code looks like through the lens of principles and trade-offs, it conveys Ruby's appeal while also teaching design ideas that transcend the language.

#Ruby#Book Review
Code Reading of Pundit
Application 2024-10-22

Code Reading of Pundit

Understand Ruby Pundit authorization framework through code reading, exploring permission policies and authorization mechanisms.

#pundit#Ruby
Code Reading of irb
Application 2024-10-20

Code Reading of irb

Explore the inner workings of Ruby's interactive shell (irb) and understand its startup process, history loading, and command execution.

#irb#Ruby
Code Reading of reline
Application 2024-10-20

Code Reading of reline

Examine reline Ruby library internals through code reading: readline calls, line editing, and text input buffering mechanics.

#reline#Ruby
RSpec Code Reading
Application 2024-10-20

RSpec Code Reading

Analyze RSpec framework internals: runner invocation, test execution flow, and result reporting mechanisms for Ruby testing.

#RSpec#Ruby
Ruby Code Recipe Collection
Application 2024-10-20

Ruby Code Recipe Collection

A review of Ruby Code Recipe Collection. A book that compiles what you can do in Ruby and common patterns as a recipe collection. Written clearly and concisely, it is just right for beginners learning Ruby to build up their repertoire.

#Ruby#Book Review
Cursor Pagination vs Offset Pagination: Which Should You Choose?
Application 2024-10-08

Cursor Pagination vs Offset Pagination: Which Should You Choose?

Compare cursor-based and offset-based pagination. Learn the performance implications, when to use each approach, and how to implement cursor pagination in SQL.

#Offset Pagination#Cursor Pagination
Code Reading of Sidekiq
Application 2024-09-21

Code Reading of Sidekiq

Understand Sidekiq architecture for Redis-based asynchronous job queuing, job enqueuing, and execution flow in Ruby applications.

#Ruby#Sidekiq
Ruby on Rails Code Reading Part 3 - Invoking WelcomeController
Application 2024-09-04

Ruby on Rails Code Reading Part 3 - Invoking WelcomeController

The third installment of my code reading notes for Ruby on Rails. Using a project created with rails new, it traces how a request flows through routing until the action of the WelcomeController is invoked, following the request handling step by step.

#Ruby on Rails#Ruby
Ruby on Rails Code Reading Part 1 - Rails Startup
Application 2024-09-02

Ruby on Rails Code Reading Part 1 - Rails Startup

Trace Rails startup sequence from command invocation through Rackup, Puma server initialization, and request handling flow.

#Ruby#Ruby on Rails
Ruby on Rails Code Reading Part 2 - Rails Request Processing
Application 2024-09-02

Ruby on Rails Code Reading Part 2 - Rails Request Processing

The second installment of my code reading notes for Ruby on Rails. Using a project created with rails new, it follows how Rails processes a single request from the moment it arrives until a response is returned, tracing the flow of request handling through the framework.

#Ruby#Ruby on Rails
Books to Learn About API Design
Application 2024-08-26

Books to Learn About API Design

Discover recommended books on API design: fundamentals, design phases, testing strategies, and practical design patterns.

#API#Design
Relearning the Basics of TypeScript
Application 2024-07-20

Relearning the Basics of TypeScript

A set of notes from revisiting the fundamentals of TypeScript. Starting with a review of JavaScript basics such as variable scope, it works through TypeScript's type system and core syntax, organizing the key points and practical takeaways.

#TypeScript
Building & Pushing Docker Images with GoReleaser
Application 2024-05-29

Building & Pushing Docker Images with GoReleaser

Automate Docker image builds across multiple platforms using GoReleaser with GitHub Actions for streamlined CI/CD deployment.

#Golang#GitHub Actions
Learning Ruby
Application 2024-05-16

Learning Ruby

Master Ruby fundamentals using official documentation, classic books, object-oriented design patterns and practical implementation practice.

#Ruby