Skip to main content

7 posts tagged with "testing"

View All Tags

When Code Gets Cheap, Coherence Gets Expensive

· 17 min read
Pere Pages
Software Engineer
An architect's desk seen from above, lit by a single lamp. Dozens of small, perfectly cut building blocks are stacked in neat piles along the edges, while in the centre a single hand-drawn plan of the whole structure is only half finished, pencil still resting on it.

The plugin built, packaged and published on the first try. I could not have explained the packaging step to anyone, and I shipped it anyway. After several months of building games, static sites, libraries and plugins with an artificial intelligence (AI) assistant doing most of the typing, that sentence is the whole story: producing code stopped being the hard part, and something else moved into its place.

Fundamentals of Modular Architecture

· 5 min read
Pere Pages
Software Engineer
Architect

In software development, managing dependencies and state is crucial for ensuring deterministic behavior: for any given input, we aim for a consistent output (This is a key reason behind the growing hype for functional programming, as it emphasizes immutability and stateless functions, simplifying the management of dependencies and state). However, as the number of inputs and modules increases, so does the complexity of handling them, potentially leading to a higher risk of bugs—unintended outcomes. To mitigate this, it's essential to minimize and manage dependencies effectively, acknowledging that they can introduce similar challenges by increasing system interconnectedness and potential failure points.

Beyond Bug Catching

· 6 min read
Pere Pages
Software Engineer
Developer working with bugs

The following article ("Stop testing your code!") made me think about the benefits of testing beyond Bug Cacthing.

Diving into the world of tests reveals a multitude of benefits beyond the obvious ones (like ensuring functionality integrity and catching bugs early). Let's break down some of these benefits and then touch upon common mistakes that can undermine these advantages.