Skip to main content

7 posts tagged with "practices"

View All Tags

12 min read
Pere Pages

This article explores the growing significance of linguistic precision and thorough understanding of foundational knowledge in the context of AI and software development, highlighting the historical importance of clear communication in the field and the relevance of Agile methodologies in the AI era. It also outlines the skills needed to effectively work with AI and navigate the evolving landscape of web development and other tech-related fields.

7 min read
Pere Pages
slack book

Slack: Getting Past Burnout, Busywork, and the Myth of Total Efficiency by Tom DeMarco is a well-regarded book in the field of management and organizational behavior first published in 2001.

DeMarco challenges the conventional wisdom that companies must maximize efficiency at all costs. He argues that an obsession with efficiency can lead to a work environment that lacks the slack necessary for innovation, flexibility, and the maintenance of employee well-being.


The book advocates for creating slack within organizations to allow for recovery, learning, and innovation. DeMarco suggests that by allowing some degree of slack, organizations can improve their adaptability, employee satisfaction, and ultimately, their long-term performance.

"Slack" is not just a critique of the relentless pursuit of efficiency but also a practical guide to creating a more humane and effective workplace. It's a must-read for managers and leaders who want to foster an environment where innovation and creativity can thrive, without sacrificing the well-being of their employees.

4 min read
Pere Pages
Tree shake
Tree shaking

Tree shaking is a term used in the context of web development, particularly with JavaScript and modern front-end build tools, to describe the process of removing unused code from your final bundle. It's like shaking a tree to let the dead leaves (unused code) fall off, so you end up with a lighter, more efficient bundle that only includes the code that's actually used in your application.

This concept became particularly relevant with the rise of module bundlers like Webpack, Rollup, and tools like Parcel, which analyze your import and export statements to determine which parts of a module are used by your application. If a function, class, or variable from a module is never used, the bundler can exclude it from the output bundle, reducing the size of your application and improving load times for your users.

4 min read
Pere Pages

pair programming

Pair programming is a collaborative strategy that has gained traction in the software development world. It involves two developers working together on a single task, with one taking the lead and the other providing support. This approach is not just about sharing the workload; it's about leveraging the collective expertise to drive efficiency and quality.

My Perspective

In this article, I'll share my perspective on pair programming, exploring the key stages and strategies that underpin this collaborative approach.

  1. Task Allocation and Leadership
  2. Acceptance Criteria
  3. Exploration through Proof of Concepts (PoCs)
  4. Convergence and Decision-making
  5. Refactoring and Continuous Delivery
  6. Repeat

2 min read
Pere Pages
functional component type

The usage of React.FC or React.FunctionComponent has been a subject of debate within the React community. Both approaches鈥攗sing it or not鈥攈ave their pros and cons.

Do not use React.FC

IMHO, do not use React.FC or React.FunctionComponent in your codebase, only if you know you are using children props.

4 min read
Pere Pages


In the context of software development, "ADR" stands for "Architectural Decision Record." An ADR document is a way to capture and document important architectural decisions made during the development process of a software project.

An architectural decision refers to a significant choice related to the software's architecture, design, or implementation. This could include decisions about the overall system structure, the selection of technologies, the integration of different components, or the handling of specific design challenges.