Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
9

Latest Updates

Documenting code, one commit at a time.

0 JavaScript

Implementing Private Properties: A Modern Approach to Data Encapsulation in JavaScript

In object-oriented JavaScript, the struggle to keep data truly internal is a classic challenge. We often rely on naming conventions like underscores, but those don't stop external modification. Working on ejemplo_presupuesto, I recently shifted our user model to use modern, native private properties for better state management.

The Problem with Public State

Previously, our user data

0 JavaScript Cypress

Scaling Quality: Refactoring Cypress for Reusable Testing Workflows

The Bottleneck of Repetitive Tests

In our project, qa-ecommerce-testing, we reached a point where our test suite was growing faster than our ability to maintain it. We noticed a common pattern: developers were frequently duplicating logic across multiple spec files, leading to a brittle suite that broke whenever a shared component, like the login flow, changed.

The Refactor Strategy

0 JavaScript Express

Iterative Improvements: Refining Modular Web Services

Working on the IvanaaCastillo/modulo_7_8 project has been an exercise in steady, incremental progress. When building modular web services with Express, the tendency is often to add complexity rapidly, but sometimes the most important work happens through consistent, iterative refinement.

The Iteration Cycle

In a modular architecture, every small commit acts as a heartbeat for the application.