<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aramis Cubillo Chan on Medium]]></title>
        <description><![CDATA[Stories by Aramis Cubillo Chan on Medium]]></description>
        <link>https://medium.com/@aramis.cubillo?source=rss-3c8938837f0d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xfgkP_jx7dViYkul</url>
            <title>Stories by Aramis Cubillo Chan on Medium</title>
            <link>https://medium.com/@aramis.cubillo?source=rss-3c8938837f0d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 14:55:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aramis.cubillo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What Gamification Really Means]]></title>
            <link>https://medium.com/@aramis.cubillo/what-gamification-really-means-38f650f4e9dd?source=rss-3c8938837f0d------2</link>
            <guid isPermaLink="false">https://medium.com/p/38f650f4e9dd</guid>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[gamification]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[enterpreneurship]]></category>
            <category><![CDATA[gamification-in-business]]></category>
            <dc:creator><![CDATA[Aramis Cubillo Chan]]></dc:creator>
            <pubDate>Thu, 23 Apr 2026 20:12:41 GMT</pubDate>
            <atom:updated>2026-04-24T23:44:17.448Z</atom:updated>
            <content:encoded><![CDATA[<h4>A deeper way to understand why it works and why it fails</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fkJtFcpf_OtJaRI1BBv5iQ.png" /></figure><p>A few years ago, I wanted to create a travel app. The main idea was to gamify the travel experience.</p><p>Every time a user completed a trip, they would earn points. There would be a leaderboard, and users would unlock badges for each travel milestone they reached.</p><p>The app was a total failure. People did not use it, and nobody cared about the game elements I introduced.</p><p>After the disappointment of the app’s failure passed, I started to analyze what had happened.</p><p>Why had such a promising idea failed to produce the results I had expected?</p><p>I started learning deeply about gamification.</p><p>I read every book I could find, took every course I came across, and practiced a lot by analyzing products and thinking about how gamification could be applied to them.</p><p>Going through that learning process helped me understand why the app failed. To be honest, I can now see that the idea had weaknesses from day one.</p><p>Gamification is a powerful tool.</p><p>It can help create great experiences with strong engagement and loyal users, but it has to be used thoughtfully.</p><p>And I think that is exactly where many teams get it wrong.</p><p>This post is the first in a series about gamification. Today, I want to explore what it really is and why it often fails.</p><p>In future posts, I will explore more effective ways to use it. I will also walk through a real example in which we apply gamification to both a digital and a non-digital experience.</p><p>So let’s start.</p><h3>What is gamification?</h3><p>If you search for a definition online, you will probably find something like this:</p><blockquote>“The integration of video game design elements — such as points, badges, leaderboards, and narratives — into non-game contexts like business, education, and health to increase user engagement, motivation, and loyalty.”</blockquote><p>Video games are very good at keeping people motivated and engaged over long periods of time. Just think about it: there are people who play for hours every day.</p><p>They spend time on something that often does not provide tangible value in their daily lives. Thousands of hours are spent simply because of the desire to play, beat a boss, discover a new stage, save the galaxy, or unlock a new character.</p><p>Not many things create that kind of effect on people.</p><p>So bringing game elements and mechanics into other experiences seems like a great idea. If I could make people feel about my app the way they feel about a video game, then I would have a much more engaging experience.</p><p>So it is no surprise that many companies wanted to explore this approach.</p><p>On paper, it looked like a great idea.</p><p>But over time, the early hype around gamification cooled, especially as many implementations failed to deliver the results companies expected.</p><p>Why did that happen? Is it just not that useful after all?</p><p>I do not think so.</p><p>I think the term was widely misinterpreted from the start. When interest in gamification started to grow, many teams did not really understand how to use it well, and there was no single widely adopted framework guiding how it should be designed.</p><p>That can easily lead to a shallow strategy. Adding game design elements to an experience does not automatically make it better, nor does it automatically increase engagement or motivation.</p><p>For example, imagine a supermarket app with a leaderboard showing which customers have spent the most money in the store. Would that really increase loyalty or participation? Would people genuinely care about competing for first place on that leaderboard?</p><p>Probably not.</p><p>To use gamification well, there needs to be a clear rationale, solid research, and a well-designed plan behind it. The feature itself cannot be the strategy.</p><p>There also needs to be a structure to follow. It cannot be left completely open-ended.</p><p>And those frameworks do exist. Over time, solid gamification models have been developed that can help us achieve specific goals. But before getting into them, we first need to understand what gamification really means.</p><h3>What does gamification really mean?</h3><p>For me, gamification means something different from the standard textbook definition.</p><p>I would define it this way:</p><blockquote><strong>Gamification is the use of the psychological principles behind video games in non-game contexts to influence behavior and improve specific metrics.</strong></blockquote><p>Let me explain what I mean.</p><p>I would not add a leaderboard to a product just because I want to “gamify” it in the hope of increasing engagement.</p><p>First, I would try to identify the psychological effects that a leaderboard creates, analyze whether those effects fit the context, and then determine whether they can help improve a specific metric.</p><p>It is not about adding points or badges just to make a product feel more playful or “cool.”</p><p>It is about understanding the effects those elements have on people and deciding whether those effects can help drive meaningful results.</p><p>Gamification has to be tied to metrics.</p><p>Otherwise, why use it in the first place? How would we measure whether it is working?</p><p>Real gamification is about using game psychology intentionally and effectively.</p><p>So far, we have explored some of the most common problems with gamification and why so many implementations fail.</p><p>We have also looked at a deeper way of understanding it, not as the simple addition of game elements, but as the intentional use of game psychology to influence behavior and achieve meaningful results.</p><p>In the next post, I will explore a framework that I believe is one of the most effective ways to design these experiences well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38f650f4e9dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Treating Years of Experience Like Proof of Talent]]></title>
            <link>https://medium.com/@aramis.cubillo/stop-treating-years-of-experience-like-proof-of-talent-76371bd4d4de?source=rss-3c8938837f0d------2</link>
            <guid isPermaLink="false">https://medium.com/p/76371bd4d4de</guid>
            <category><![CDATA[resume]]></category>
            <category><![CDATA[human-resources]]></category>
            <category><![CDATA[job-hunting]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Aramis Cubillo Chan]]></dc:creator>
            <pubDate>Mon, 23 Mar 2026 19:53:47 GMT</pubDate>
            <atom:updated>2026-03-23T19:57:56.057Z</atom:updated>
            <content:encoded><![CDATA[<h4>In tech, time with a framework is not the same as depth, judgment, or long-term value.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D2HTNtCgu14Un1fDeALbkg.png" /></figure><p>A few years ago I applied for a job as a Senior Full Stack Developer at a company where one of my college friends worked.</p><p>I was not actively looking to change jobs, but this role was in the Netherlands and included relocation.</p><p>It felt like a good opportunity to test myself in an international market.</p><p>I was feeling confident. At that point I had already been working in software for more than 13 years.</p><p>My goal was simple: get the job, or at least make it to the final stages.</p><p>I did not even get a first interview.</p><p>Rejected immediately.</p><p>I really did not see that one coming.</p><p>Not because I thought I was guaranteed the job, but because I thought I had enough experience to at least get a conversation. An interview. A chance to prove myself.</p><p>A few days later, still thinking about it, I asked my friend if he knew what had happened.</p><p>I wanted to understand if I was missing an important skill or if there was something wrong with my resume.</p><p>He told me I was rejected because I had 5 years of React experience and they were looking for someone with 7.</p><p>That was it.</p><p>I am not going to lie: that hurt my ego more than I was willing to admit.</p><p>But after the initial frustration passed, another question started to grow in my mind:</p><p>Why do companies measure developers in such an abstract way?</p><p>Think about it. A person can work with React for 7 years and spend most of that time building simple screens and routine features.</p><p>Another developer might have fewer years, but much deeper experience solving performance problems, designing reusable components, improving maintainability, or working on large production systems.</p><p>And React experience by itself does not tell the whole story either. A strong React developer usually also needs solid JavaScript fundamentals.</p><p>So what happens when someone has deep JavaScript knowledge, strong frontend instincts, and only 3 or 4 years of React? Are they really less capable than someone with 7 years just because the number is smaller?</p><p>The more I thought about it, the stranger that filter felt.</p><p>Still, I wanted to be fair. Companies use years of experience for a reason. It is easy to criticize the metric, but there is a logic behind it.</p><p>So in this article, I want to look at both sides: why companies rely on years of experience, why that number often fails to measure real ability, and what better alternatives look like.</p><h3>Why companies use years of experience</h3><p>Before criticizing this metric, it is worth asking a fair question:</p><p><em>why do companies use it so much in the first place?</em></p><p>The answer is not complicated. In hiring, speed, scale, cost, and risk matter.</p><p>This metric fits very well into that reality.</p><p>In practice, the appeal of this metric comes down to a few simple advantages.</p><h4>It is a fast way to reduce a large pile of resumes</h4><p>Imagine posting a job online and getting 500 or 1000 resumes for a single position.</p><p>Now imagine having to review every one of them carefully to figure out who is actually a strong fit.</p><p>That takes time, and time is expensive.</p><p>So companies look for quick filters, and years of experience become a popular choice because they are easy to spot on a resume, and easy to use when the applicant pool is large.</p><p>Now 1000 resumes can quickly become 30 resumes to evaluate in detail.</p><h4>It fits neatly into recruiting systems</h4><p>This metric works well with automated hiring processes.</p><p>It is much easier to ask, “Do you have at least 7 years of React experience?” than to evaluate whether someone has solved performance problems, made architectural decisions, or owned meaningful parts of a frontend system.</p><h4>It gives recruiters a simple guideline</h4><p>Many recruiters are not engineers, and that is not necessarily a problem.</p><p>They do not need to understand React internals or frontend architecture in depth.</p><p>But they do need a simple way to decide who moves forward and who does not.</p><p>Years of experience become the guideline.</p><h4>It acts as a shortcut for seniority</h4><p>In many cases, companies are not really trying to measure React itself. They are trying to estimate something bigger.</p><p>They want someone who has probably dealt with production issues, worked on complex projects, collaborated with designers and teammates, translated business requirements into technical decisions, reviewed pull requests, questioned weak technical choices, and met deadlines consistently.</p><p>In other words, they are often looking for judgment, ownership, adaptability, communication, and reliability, and years of experience feel like a quick way to approximate those qualities.</p><h4>It feels objective</h4><p>Qualities like judgment, problem-solving, and seniority are hard to define and even harder to measure.</p><p>They require conversation, context, and interpretation.</p><p>Years of experience, on the other hand, look concrete.</p><p>That gives recruiters a number they can work with.</p><h4>It is an old habit</h4><p>In many traditional careers, the longer someone has been in the field, the easier it is to connect that time with rank, responsibility, and career growth.</p><p>Think about careers like law, accounting, consulting, or corporate management, where progression is often easier to understand.</p><p>That way of thinking carried into tech hiring as well.</p><p>Even though software development evolves quickly and career growth is often less linear, years of experience remain a familiar and easy reference point for companies to use.</p><p>So the popularity of this metric is not hard to explain. It is fast, simple, scalable, and easy to turn into a hiring rule. From a company’s point of view, that makes sense.</p><p>The real question is whether this is a useful way to evaluate talent.</p><h3>Why years of experience often fail</h3><p>On paper, years of experience seem practical.</p><p>The problem is that being practical is not the same as being accurate.</p><h4>Time is not the same as depth</h4><p>The first issue is simple: time does not tell you how deeply someone understands a technology.</p><p>Two developers can both say they have React experience, but that experience may be completely different.</p><p>One may have spent years doing repetitive work in a simple codebase. Another may have spent fewer years solving harder problems involving architecture, performance, testing, scalability, and maintainability.</p><p>Years tell you how long someone has been around a tool.</p><p>They do not tell you how deeply that person understands it.</p><h4>Repetition is not growth</h4><p>A developer can have 5 years of experience, but if those 5 years are mostly the same level of work repeated over and over, the number loses meaning.</p><p>Software development is not a career where time automatically turns into mastery. Some people spend years in stable, repetitive environments.</p><p>Others grow faster because they take ownership, work on harder systems, get better mentorship, and push themselves to improve.</p><p>More years do not always mean more growth.</p><h4>Framework years ignore transferable skills</h4><p>Framework-specific years often ignore the skills that actually make someone strong.</p><p>React does not exist in isolation. A good React developer usually needs strong JavaScript fundamentals, a solid understanding of the browser, good debugging skills, a sense for architecture, awareness of performance trade-offs, and the ability to write maintainable code.</p><p>So when a company focuses too narrowly on one framework-year number, it can miss people with strong adjacent skills and real product experience that transfer well into the role.</p><h4>A weak first filter can reject strong people too early</h4><p>Most companies do not hire someone based only on the resume.</p><p>Usually there is a first conversation, a technical interview, maybe a coding exercise, maybe a system design round, and then team interviews.</p><p>That means the first filter matters a lot.</p><p>A company may say it values technical interviews, practical exercises, and careful evaluation.</p><p>But if it rejects someone before the first conversation because they have 4 years instead of 7, then that candidate never gets the chance to show what they actually know.</p><p>That is not just unfair. It is also a bad business decision.</p><h4>The metric is also easy to game</h4><p>Some people are not completely honest on their resumes.</p><p>Some candidates round numbers up.</p><p>Some present partial experience as if it were deeper or longer than it really was.</p><p>Some count occasional use of a technology as years of solid experience.</p><p>So a metric that looks objective can still reward resume manipulation more than real ability.</p><p>And sometimes the honest candidate loses first.</p><p>So far, we’ve seen why companies rely on years of experience and why it is a weak measure of talent.</p><p>The real question is: how do you evaluate talent without inheriting the flaws of this metric?</p><h3>What should companies do instead?</h3><p>Companies still need a practical way to reduce the pile of resumes and make good hiring decisions.</p><p>The challenge is to do that with criteria that reflect the real work of the role.</p><p>The goal is not to remove structure from hiring, but to use criteria that are closer to the work itself.</p><p>That means defining the role around real responsibilities, focusing on relevant skills, and using hiring steps that show whether a candidate can actually do the job.</p><p>Here is what it can look like in practice.</p><h4>Describe the work and filter for it</h4><p>One of the easiest ways to improve hiring is to write job descriptions that describe the work more clearly.</p><p>If the role involves maintaining a production React app, improving performance, building reusable components, collaborating across teams, and making frontend architecture decisions, that is what the job post should say.</p><p>LinkedIn recommends describing responsibilities, highlighting desired skills, and showing what success in the role looks like.</p><p>For example:</p><p>“Built and maintained production frontend applications” tells you more than “7 years of React.”</p><p>“Improved performance in a large app” tells you more than “5 years of JavaScript.”</p><p>“Collaborated with designers, backend developers, and product managers” tells you more than “senior-level required.”</p><p>And if companies need an early filter, they should use one that reflects that same logic:</p><blockquote>Has this person worked on production systems?</blockquote><blockquote>Have they owned meaningful parts of an application?</blockquote><blockquote>Have they dealt with performance, testing, or maintainability problems?</blockquote><blockquote>Do they show transferable experience, growth, and increasing responsibility?</blockquote><p>The closer the requirement is to the actual work, the more useful it becomes.</p><h4>Use structured interviews and job-relevant evaluation</h4><p>Once candidates make it past the initial filter, the next step should be to evaluate them more directly.</p><p>That is where structured interviews, work samples, skills tests, and realistic simulations become useful.</p><p>They are not perfect, but they are much closer to the real work than a resume screen alone.</p><p>For a frontend role, that might mean a discussion about tradeoffs in component design, a small job-relevant task, behavioral questions about ownership and collaboration, and perhaps a practical debugging exercise or short code review discussion.</p><p>This kind of process takes more effort to build, but it is much more connected to what the role actually requires.</p><h3>Final thoughts</h3><p>A better hiring process does not ask, “How many years has this person been around this tool?”</p><p>It asks, “Can this person do the work, grow into the role, and add value over time?”</p><p>Years of experience are easy to count, and that is exactly why companies rely on them so much. But easy to count is not the same as useful to measure.</p><p>Those years can still provide context by suggesting familiarity, career stage, and possible exposure to certain kinds of problems. But they should be treated as one factor among many, not as the main gatekeeper.</p><p>A person is more than a number tied to one framework, and good hiring should reflect that.</p><p>The real mistake is treating time as proof of depth, judgment, or long-term value.</p><p>In tech, that mistake can cost companies the people they actually need.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76371bd4d4de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Singleton: A Simple Idea That’s Hard to Use Well]]></title>
            <link>https://medium.com/@aramis.cubillo/singleton-a-simple-idea-thats-hard-to-use-well-42451afa29df?source=rss-3c8938837f0d------2</link>
            <guid isPermaLink="false">https://medium.com/p/42451afa29df</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[singleton-design-pattern]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-design-patterns]]></category>
            <dc:creator><![CDATA[Aramis Cubillo Chan]]></dc:creator>
            <pubDate>Thu, 05 Mar 2026 16:37:16 GMT</pubDate>
            <atom:updated>2026-03-17T19:16:04.423Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why ensuring a single instance sounds easy — but designing around it requires careful thinking.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2-HVVdNe173Bpv13ejDawQ.png" /></figure><p>In this entry of my series <a href="https://medium.com/@aramis.cubillo/design-patterns-in-the-ai-age-why-you-still-need-to-think-82f48736feef">“Design Patterns in the AI Age: Why You Still Need to Think”</a>, we’ll look at Singleton — one of the most popular and controversial design patterns.</p><p>In a time when AI can generate large amounts of code instantly, patterns like Singleton are easy to implement — but much harder to apply correctly.</p><p>The textbook definition says a Singleton is:</p><blockquote>“A creational design pattern that ensures a class has only one instance while providing a global access point to it.”</blockquote><p>Pretty straightforward. A Singleton is what you use when your app should only have one instance of something.</p><p>At this point, you might naturally ask:</p><p>Why would I ever need just one instance?<br>And what advantages do I get from it?</p><p>Answering that isn’t as simple as listing advantages like “a”, “b”, and “c”.</p><p>The reality is that there are multiple scenarios where using a single instance can help our code a lot, but not everything needs to be a single instance. That’s where the confusion begins.</p><p>Singleton was originally meant to be applied to things that are, or should be, truly singular.</p><p>However, over time many developers started using it simply because it was convenient to share the same instance across the application. That small shift is what turned a simple pattern into one of the most criticized ones.</p><p>The key distinction is this:</p><p><strong>Shared does not automatically mean singular.</strong></p><p>Let’s unpack this with two concrete real-life examples.<br>The first shows a case where Singleton is justified.<br>The second shows where it becomes problematic.</p><h3>Example 1: A Legitimate Use of Singleton — The Event Bus</h3><p>Imagine a small web app built the old-fashioned way — plain JavaScript, separate script files, no frameworks.</p><p>You might have the following files:</p><pre>header.js<br>loginModal.js<br>search.js</pre><p>These files need to communicate with each other.</p><p>If the user clicks the <strong>“Login”</strong> button in the header, the login modal should open. That means header.js needs to communicate with loginModal.js.</p><p>A simple way to achieve this is with an <strong>Event Bus</strong> — a small object that allows one part of the app to emit events and another part to listen for them.</p><p>Now here’s the problem.</p><p>If each file creates its own EventBus instance, the application becomes fragmented:</p><pre>// header.js<br>const bus = new EventBus();<br><br>document.getElementById(&quot;loginBtn&quot;).onclick = function () {<br>  bus.emit(&quot;open-login&quot;);<br>};<br><br><br>// loginModal.js<br>const bus = new EventBus();<br><br>bus.on(&quot;open-login&quot;, function () {<br>  document.getElementById(&quot;loginModal&quot;).style.display = &quot;block&quot;;<br>});</pre><p>The developer expects clicking <strong>“Login”</strong> to open the modal.</p><p>What actually happens?</p><p>Nothing.</p><p>No errors. No warnings. Just silence.</p><p>Why?</p><p>Because each script created a different EventBus, so they’re talking on two completely separate “channels.”</p><p>The header emits on one instance, the modal listens on another.<br>They will never see each other’s events.</p><p>To fix this, we need to make sure there is only <strong>one EventBus</strong> for the entire app, and that every script shares the exact same instance.</p><p>To do that, we implement Singleton inside the EventBus class:</p><pre>class EventBus {<br>  static instance = null; // Reference the only EventBus instance<br><br>  // Static method to retrieve the instance<br>  static getInstance() {<br>    if (!EventBus.instance) {<br>      EventBus.instance = new EventBus();<br>    }<br>    return EventBus.instance;<br>  }<br><br>  constructor() {<br>    this.listeners = {};<br>  }<br><br>  // Register an event listener<br>  on(event, callback) {<br>    if (!this.listeners[event]) {<br>      this.listeners[event] = [];<br>    }<br><br>    this.listeners[event].push(callback);<br>  }<br><br>  // Emit an event<br>  emit(event, data) {<br>    const list = this.listeners[event];<br>    if (!list) return;<br><br>    list.forEach(cb =&gt; cb(data));<br>  }<br>}</pre><p>Usage:</p><pre>// header.js<br>const bus = EventBus.getInstance();<br>bus.emit(&quot;open-login&quot;);<br><br>// loginModal.js<br>const bus = EventBus.getInstance();<br><br>bus.on(&quot;open-login&quot;, () =&gt; {<br>  document.getElementById(&quot;loginModal&quot;).style.display = &quot;block&quot;;<br>});</pre><p>Now every part of the app uses the <strong>exact same EventBus instance</strong>.</p><p>This is the real purpose of Singleton: ensuring that when something is supposed to exist once, it actually exists once.</p><p>The system in our example is designed around the assumption of a <strong>single communication channel</strong>.</p><p>Without it, each file could accidentally create its own EventBus, and the system would quietly break.</p><p>In this case, Singleton solves a real architectural problem: preventing the system from fragmenting into multiple communication channels.</p><p>Now, in modern JavaScript, a module export often solves this more simply. But this example still illustrates the core problem Singleton was originally meant to solve.</p><p>The important point is that not every shared object in an application has this kind of structural requirement.</p><h3>Example 2: Where Things Go Wrong with Singleton</h3><p>Now let’s look at a very common misuse.</p><p>Imagine our app needs a place to store the logged-in user and make it accessible across the application.</p><p>A quick solution is to create a UserService and turn it into a Singleton:</p><pre>class UserService {<br>  static instance = null;<br><br>  static getInstance() {<br>    if (!UserService.instance) {<br>      UserService.instance = new UserService();<br>    }<br>    return UserService.instance;<br>  }<br><br>  constructor() {<br>    this.currentUser = null;<br>  }<br><br>  login(user) {<br>    this.currentUser = user;<br>  }<br><br>  getCurrentUser(){<br>    return this.currentUser;<br>  }<br>}</pre><p>Everywhere in the app, instead of passing a UserService through constructors, developers call:</p><pre>UserService.getInstance()</pre><p>It feels convenient, and the app works without any immediate problems.</p><p>Whenever a component needs information about the user, it just calls the singleton.</p><p>The user settings page needs user data? Call: UserService.getInstance().getCurrentUser()</p><p>The header component needs it too? Call: UserService.getInstance().getCurrentUser()</p><p>At first, UserService seems to work perfectly.</p><p>So you might be thinking:</p><blockquote>Why is this a bad use of the Singleton pattern?</blockquote><p>Every component can access the logged-in user, and the state remains consistent across the app.</p><p>Initially, there doesn’t seem to be a problem.</p><p>If your app stays small or never grows in complexity, you might never run into issues.</p><p>However, as the application grows, the convenience of a global Singleton begins to introduce subtle problems.</p><h3>Hidden Dependencies</h3><p>When a class directly calls:</p><pre>UserService.getInstance()</pre><p>it hides its dependency.</p><p>Looking at the constructor of a class, you can’t tell that it depends on UserService. The dependency is buried inside the implementation.</p><p>That makes the code harder to understand and maintain.</p><p>You don’t know what a component truly needs without reading through its internal logic.</p><p>Now imagine a large application with <strong>50 different places</strong> calling UserService.</p><p>If you ever need to change how user data is retrieved, validated, or stored, you have to carefully inspect all of those places because the dependency is scattered and implicit.</p><h3>Global Mutable State</h3><p>Because UserService is a global Singleton, every part of the app reads and writes to the same shared object.</p><p>As we saw in the earlier example, UserService has a property called currentUser, which stores the logged-in user’s data.<br>If one part of the app changes currentUser, every other part immediately sees that change.</p><p>This tightens coupling across the system.</p><p>Components are no longer isolated — they are all connected through shared mutable state.</p><p>Imagine <strong>50 classes</strong> reading and mutating currentUser.</p><p>Now imagine a subtle bug where one class accidentally overwrites the user or clears it at the wrong time.</p><p>Tracking down where the state was changed becomes significantly harder because everything points to the same global instance.</p><h3>Testing Becomes Fragile</h3><p>Since UserService is shared across the entire app, tests share it too.</p><p>If one test logs in a user and doesn’t reset the state, another test may start with unexpected data.</p><p>Now your tests depend on <strong>execution order</strong> to pass.</p><p>This is not a logic bug — it’s a design consequence of shared global state.</p><p>Mocking also becomes difficult.</p><p>If your classes call UserService.getInstance() internally, you can’t easily replace it with a fake version during testing.</p><p>You either have to modify the Singleton directly, add special test hooks, or restructure your code.</p><p>If UserService were passed explicitly as a dependency, swapping it for a mock would be straightforward.</p><p>With a hardcoded Singleton, it becomes intrusive and messy.</p><h3>Refactoring Becomes Risky</h3><p>If you need to refactor UserService, you have to be extremely careful — especially if many classes rely on it.</p><p>For example, imagine you decide to change how authentication works.</p><p>Maybe currentUser is no longer just a simple object, but now requires asynchronous loading or token validation.</p><p>Because so many parts of the app directly depend on UserService.getInstance(), even small internal changes can ripple across the entire system.</p><p>That’s tight coupling in action.</p><p>When one central object is accessed everywhere, changing it becomes risky because everything is connected to it.</p><h3>God Object</h3><p>Because UserService is globally accessible, it becomes tempting to keep adding more responsibilities to it.</p><p>Need to store user preferences? Add it to UserService.</p><p>Need to manage roles and permissions? Add it there too.</p><p>Need to cache user-related API calls? Why not?</p><p>Over time, this simple service can grow into a <strong>“God object”</strong> — a single class responsible for too many things.</p><p>Now imagine refactoring that class when <strong>100 different places</strong> depend on it.</p><h3>Multithreading Risks</h3><p>There is another problem that appears in multithreaded environments such as Java or C#.</p><p>Consider this Singleton implementation:</p><pre>if (instance == null) {<br>   instance = new Singleton();<br>}</pre><p>If two threads reach this code at the same time, both may see instance as null and both may create a new object.</p><p>Suddenly, the class that was supposed to have only one instance now has two.</p><p>To prevent this, developers introduce synchronization mechanisms such as locks, double-checked locking, or eager initialization.</p><p>While these solutions work, they also add complexity to something that is often presented as a simple pattern.</p><p>This is one of the reasons many modern architectures avoid hardcoded Singletons and instead manage object lifetimes elsewhere in the system — an approach we’ll look at later.</p><h3>Why These Problems Eventually Matter</h3><p>As you can see, the misuse of Singleton is subtle.</p><p>It doesn’t explode immediately.<br>In fact, it often works perfectly at the beginning.</p><p>But as the system grows, global mutable state introduces hidden dependencies, tight coupling, fragile tests, and risky refactors.</p><p>That’s why Singleton is often criticized.</p><p>Not because enforcing a single instance is inherently wrong — but because using it to share mutable state across an application creates long-term architectural pain.</p><p>Once a system starts depending heavily on global mutable state, everything becomes more tightly coupled and harder to evolve.</p><p>Once these problems start to appear, the natural question becomes:</p><p><strong>If Singleton introduces so many risks, how do modern applications solve the same problems?</strong></p><h3>Modern Alternatives to Singleton</h3><p>If you’re thinking about using Singleton in your application, it’s worth pausing for a moment and asking yourself:</p><p><strong>What problem am I actually trying to solve?</strong></p><p>As we mentioned earlier, most of the time developers reach for Singleton because they want one of these things:</p><ul><li>A shared instance across the app</li><li>Centralized state</li><li>Easy access from anywhere</li><li>Controlled instance lifetime</li></ul><p>However, there are modern tools and patterns that allow you to achieve those goals in cleaner and more flexible ways.</p><p>Let’s look at a few of them.</p><h3>1. Constructor Injection</h3><p>One of the main problems with hardcoded Singletons is that classes silently reach out for what they need:</p><pre>UserService.getInstance()</pre><p>The dependency is hidden inside the class.</p><p>Constructor injection fixes that.</p><p>Instead of letting a class fetch its own dependencies, we pass them in:</p><pre>class Dashboard {<br>  constructor(userService) {<br>    this.userService = userService;<br>  }<br>}</pre><p>Now the dependency is explicit.</p><p>If you look at the constructor, you immediately know what Dashboard needs to function.</p><p>Nothing is hidden inside method bodies.</p><p>This has two major advantages:</p><p><strong>Clarity: </strong>You can understand a class by looking at its constructor.</p><p><strong>Testability</strong> : You can pass a mock or fake UserService when testing.</p><p>The class no longer decides how to get a dependency.<br>It only declares that it needs one.</p><p>That alone removes the need for most getInstance() calls.</p><h3>2. Composition Root</h3><p>Passing dependencies through the constructor makes them visible, but it raises a question:</p><p>If classes are no longer creating or retrieving their own dependencies, where should those dependencies come from?</p><p>In modern architectures, there is usually one place where objects are created and connected together.</p><p>This is often called the <strong>composition root</strong>.</p><p>For example:</p><pre>const userService = new UserService();<br><br>const dashboard = new Dashboard(userService);<br>const header = new Header(userService);</pre><p>If you want UserService to behave like a Singleton, you create <strong>one instance here</strong> and pass it everywhere.</p><p>With a classic Singleton, the class enforces its own uniqueness.</p><p>With a composition root, the <strong>architecture controls instance lifetime</strong>.</p><p>The class stays simple.<br>The system stays flexible.</p><h3>3. Dependency Injection Frameworks</h3><p>Centralizing object creation works well, but as applications grow it can become repetitive.</p><p>That’s where <strong>Dependency Injection (DI) frameworks</strong> come in.</p><p>A DI framework lets you declare how objects should be connected and handles the wiring for you.</p><p>You can declare that:</p><ul><li>UserService should be a single shared instance</li><li>Another service should be created once per request</li><li>Another should be recreated every time it’s needed</li></ul><p>And the framework takes care of the rest.</p><p>In other words, you still control instance lifetime — but without scattering creation logic across your codebase.</p><h3>4. State Management Libraries</h3><p>In modern frontend applications, developers often want a <strong>single source of truth</strong> for shared state.</p><p>Instead of using a Singleton class to hold global state, frameworks provide structured state management tools such as:</p><ul><li>React Context</li><li>Redux</li><li>Zustand</li><li>Vuex / Pinia</li><li>Svelte stores</li></ul><p>These tools solve the same problem developers historically tried to solve with Singleton — shared, consistent state — but in a more controlled and predictable way.</p><h3>5. Simple Module Exports</h3><p>In JavaScript specifically, modules are evaluated once and cached.</p><p>If you export an object from a module:</p><pre>// config.js<br>export const config = { theme: &quot;light&quot; };</pre><p>Every import receives the same instance.</p><p>No getInstance() method needed.</p><p>In many cases, this is all you need.</p><p>So far we’ve explored several modern alternatives to Singleton.</p><p>But let’s return to the pattern itself.</p><p>Earlier we discussed situations where Singleton is used correctly — and cases where it causes problems.</p><p>There’s another common reason developers reach for it.</p><h3>Sometimes It’s Just About Performance</h3><p>There’s another reason developers often reach for Singleton: <strong>expensive initialization</strong>.</p><p>Sometimes creating multiple instances of an object wastes resources or duplicates heavy work.</p><p>For example, imagine your application needs an object that loads a large JSON configuration file — maybe for feature flags, pricing rules, or application settings.</p><p>It might also perform several API calls during initialization.</p><p>Parsing that file and preparing internal structures might take noticeable time.</p><p>If every component recreated that object whenever it needed it, you would:</p><ul><li>waste CPU</li><li>duplicate work</li><li>increase memory usage</li></ul><p>In situations like this, sharing a single instance can be a practical decision.</p><p>But notice what’s happening here.</p><p>We’re not saying the object must exist only once for the system to behave correctly.</p><p>We’re saying that creating it multiple times is inefficient.</p><p>That’s a <strong>very different reason</strong>.</p><p>Sharing something because it’s expensive doesn’t automatically mean it should only ever exist once.</p><p>And that distinction matters.</p><p>If later you need multiple configurations — for example, one per tenant, session, or user — your design should still be able to support that.</p><p>Hardcoding uniqueness because something is expensive today can quietly limit what your system is able to do tomorrow.</p><p>Many of the classic examples often associated with Singleton fall into this category of <strong>cost management rather than structural necessity</strong>.</p><p><strong>Database connections</strong> — Opening a database connection is relatively expensive, and databases limit how many connections can be active at the same time. Instead of creating a new connection for every class, applications usually create a shared connection pool. The pool manages multiple reusable connections internally, reducing overhead and controlling resource usage. Because of that, the pool itself is often created once and shared across the application — not because the system logically requires only one pool, but because managing a single pool keeps resource usage under control.</p><p><strong>Network or I/O clients</strong> — HTTP clients often require configuration such as authentication, timeouts, and TLS setup. Reusing a configured client avoids repeating that setup work and reduces unnecessary overhead.</p><p><strong>Third-party SDK instances</strong> — Payment providers or cloud SDKs may initialize authentication state, internal caches, or persistent network connections. Creating one instance and reusing it prevents repeating those costly initialization steps.</p><p><strong>Caches and in-memory stores</strong> — If different parts of the application each created their own cache instance, the system would still work correctly. However, cached values would not be reused across components, meaning the same expensive data could be recomputed or refetched multiple times. Sharing a cache improves performance by reusing results — but it is an efficiency choice, not a requirement for the system to function.</p><p>In all of these cases, the object is shared to control cost, coordination, or resource usage.</p><p>That’s a valid engineering choice.</p><p>The key is understanding <strong>why</strong> you are sharing it.</p><p>When uniqueness is required for the system to function properly, enforcing a single instance may make sense.</p><p>But when you share something because it’s expensive, you’re making a <strong>performance decision</strong> — and performance decisions can change as your application grows, scales, or gains new requirements.</p><p>Recognizing that difference prevents performance optimizations from quietly turning into architectural constraints.</p><h3>So… Is Singleton Bad?</h3><p>Remember the distinction we discussed earlier:</p><p><strong>Shared does not automatically mean singular.</strong></p><p>Singleton solves a specific problem: preventing accidental multiplicity when something truly needs to exist only once.</p><p>If multiple instances would fragment communication, introduce inconsistent coordination, or cause the system to behave incorrectly, enforcing a single instance can be the right design choice.</p><p>But many modern applications don’t need hardcoded Singletons to achieve shared access or controlled lifetimes.</p><p>As we’ve seen, embedding global access directly into a class can introduce hidden dependencies, tight coupling, and long-term rigidity.</p><p>Instead, we can rely on cleaner approaches:</p><ul><li>Constructor injection makes dependencies explicit</li><li>A composition root centralizes object creation</li><li>Dependency Injection frameworks manage instance lifetimes without embedding global access into the class</li></ul><p>In many cases, these approaches achieve the same goals — sharing instances, controlling cost, coordinating behavior — while keeping the system more flexible.</p><p>The important part isn’t avoiding Singleton.</p><p>It’s understanding <strong>why you’re using it and what trade-offs it introduces.</strong></p><p>Used carelessly, it can quietly set parts of your system on fire.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42451afa29df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gang of Four Design Patterns]]></title>
            <link>https://medium.com/@aramis.cubillo/gang-of-four-design-patterns-c805bb97c899?source=rss-3c8938837f0d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c805bb97c899</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-design-patterns]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Aramis Cubillo Chan]]></dc:creator>
            <pubDate>Fri, 20 Feb 2026 20:34:42 GMT</pubDate>
            <atom:updated>2026-03-05T15:55:38.658Z</atom:updated>
            <content:encoded><![CDATA[<h4>Revisiting the foundations of design patterns in the age of AI-generated code.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M6iVaZPpvE3E7JSYxvmviw.png" /></figure><p>In the <a href="https://medium.com/@aramis.cubillo/design-patterns-in-the-ai-age-why-you-still-need-to-think-82f48736feef">last </a>article, we explained why we still need to think critically in an AI-assisted world.</p><p>With AI, we can generate clean and powerful implementations that use design patterns in seconds.</p><p>That’s a huge advantage.</p><p>Used well, patterns help us create clean and elegant solutions that are easier to maintain, understand, and extend.</p><p>But not every piece of code an AI generates is the right solution.</p><p>And not every pattern that looks clean or convenient actually fits the problem.</p><p>That’s why understanding design patterns still matters.</p><p>If we want to take advantage of AI while also questioning its decisions, we need to understand what these patterns solve — and when they truly make sense.</p><p>So we’ll start with the basics: the Gang of Four design patterns.</p><p>In this entry, we’ll explain what they are and how they’re organized into categories.</p><p>Later, we’ll analyze each one in detail.</p><h3><strong>So, Who Are the Gang of Four?</strong></h3><p>The “Gang of Four” refers to Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, authors of <em>Design Patterns: Elements of Reusable Object-Oriented Software</em>, published in 1994.</p><p>Their book introduced 23 design patterns that became one of the most influential references in object-oriented software design.</p><p>These patterns describe solutions to problems developers repeatedly had to face in object-oriented systems.</p><p>They assume you’re working with classes, objects, inheritance, and composition.</p><p>The authors didn’t just list patterns randomly.</p><p>They organized them into three categories, and each category reflects a different type of design problem.</p><p>Those categories are: <strong>creational, structural, and behavioral.</strong></p><h3>Creational Patterns</h3><p>The generic textbook definition of creational patterns is:</p><p><em>“Creational patterns are mechanisms for object creation, designed to keep code flexible and reusable.”</em></p><p>That sounds simple enough. But it’s still abstract.</p><p>Why would you need “flexible” ways to create objects?</p><p>Isn’t <strong>new Something()</strong> enough?</p><p>When do these patterns actually matter?</p><p>If you’ve been coding for a while, you already know the answer.</p><p>Creating an object isn’t always just calling a constructor.</p><p>Sometimes an object requires validation.</p><p>Sometimes it needs configuration.</p><p>Sometimes it depends on other objects.</p><p>Sometimes you need different variations depending on context.</p><p>Sometimes creation involves expensive setup or even API calls.</p><p>And suddenly, object creation stops being simple.</p><p>So when should you use creational patterns?</p><p>Simple:<strong> when creating objects starts getting messy.</strong></p><p>That’s when these patterns begin to earn their place.</p><h3>Structural Patterns</h3><p>Structural patterns define how objects and classes are composed to build larger systems while keeping them flexible and manageable.</p><p>Most real-world objects aren’t just a few primitive properties.</p><p>They contain other objects.</p><p>And those objects often contain more.</p><p>Systems grow by composition.</p><p>If that structure isn’t handled carefully, the code becomes tightly coupled, hard to understand, and difficult to change.</p><p>Using or extending a feature may require coordinating multiple classes.</p><p>Small changes ripple across the codebase.</p><p><strong>That’s usually a structural problem.</strong></p><p>Here are common signs that you might need a structural pattern:</p><ul><li>Changes don’t stay local. A small modification in one class forces updates in several others.</li><li>Using a feature requires too much setup. You need to create, pass around, or coordinate many objects just to call one thing.</li><li>Adding behavior means modifying existing classes instead of plugging something new in.</li><li>The same object relationships keep repeating in multiple places.</li><li>Components technically work but don’t fit together cleanly. You constantly write extra glue code just to connect them.</li><li>A subsystem is harder to use than to understand. Its logic is clear, but interacting with it requires too much knowledge of internal details.</li></ul><p>When structure gets messy, structural patterns help restore clarity.</p><h3>Behavioral Patterns</h3><p>Behavioral patterns focus on how work is divided between objects and how they interact.</p><p>They’re not about how objects are created.</p><p>They’re not about how objects are wired together.</p><p><strong>They’re about how things happen.</strong></p><p>More specifically:</p><ul><li>Which object decides what happens next</li><li>Which object performs a specific piece of work</li><li>How data or events move from one object to another</li><li>Whether control is centralized or distributed</li></ul><p>As applications grow, logic tends to scatter.</p><p>Responsibilities blur.</p><p>Decision-making spreads across classes.</p><p>It becomes hard to trace how a feature works from start to finish.</p><p>That’s where behavioral patterns help.</p><p>They clarify responsibilities and make interactions intentional instead of accidental.</p><p>Here are some warning signs that you might need behavioral patterns:</p><ul><li>The same decision logic appears in multiple classes</li><li>One object does too much and knows too much</li><li>It’s unclear which object controls the flow of a feature</li><li>Changing behavior requires editing many classes</li><li>Similar interactions are implemented in slightly different ways</li></ul><p>When logic flow gets messy, behavioral patterns bring order.</p><h3>Takeaway</h3><p>Just remember:</p><ul><li>Creational patterns → object creation gets messy</li><li>Structural patterns → object wiring gets messy</li><li>Behavioral patterns → logic flow gets messy</li></ul><p>Each category answers a different question:</p><ul><li>How do we create objects?</li><li>How do we structure them?</li><li>How do they collaborate?</li></ul><p>Once you see patterns through that lens, they stop feeling academic and start feeling practical.</p><p>In the next part, we’ll start with the most popular — and probably the most controversial — pattern of them all:</p><p><a href="https://medium.com/@aramis.cubillo/singleton-07ebc06102e3">Singleton</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c805bb97c899" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design Patterns in the AI Age: Why You Still Need to Think]]></title>
            <link>https://medium.com/@aramis.cubillo/design-patterns-in-the-ai-age-why-you-still-need-to-think-82f48736feef?source=rss-3c8938837f0d------2</link>
            <guid isPermaLink="false">https://medium.com/p/82f48736feef</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[code-refactoring]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Aramis Cubillo Chan]]></dc:creator>
            <pubDate>Tue, 17 Feb 2026 19:53:49 GMT</pubDate>
            <atom:updated>2026-03-05T15:51:17.118Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why understanding design patterns matters more than ever in an AI-assisted world.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*as9WX6yqXZmzJgGZ-uJRTg.png" /></figure><p>A few days ago, I was working with a 2000-line file.</p><p>You know the type.<br>Hard to understand, risky to modify, and even harder to extend without breaking something.<br>The kind nobody volunteers to refactor.</p><p>I decided to work alongside Cursor’s AI agent to see how far and how well we could refactor this monster.</p><p>What followed wasn’t magic.</p><p>It wasn’t “AI, fix this” and everything became perfect.</p><p>It was hours of iteration. Back and forth prompts. Manual adjustments. Splitting logic into smaller files. Rethinking responsibilities. Applying SOLID principles. Trying again.</p><p>Eventually, we landed on a clean structure based on the <strong>Strategy pattern</strong>. It wasn’t flawless, but it was dramatically better than the original 2000-line blob. Maintainable. Clear. Extensible.</p><p>It felt like a win.</p><p>Then I noticed something.</p><p>In one of its iterations, the AI had introduced a <strong>Singleton. </strong>It was wrapping the unit testing configuration for the newly refactored functionality.</p><p>At first, something about it felt slightly off , but I was racing a deadline, so I let it pass.</p><p>Later, a teammate was reviewing my code and asked a simple question:</p><p>“Why is this a Singleton?”</p><p>When I revisited the code, the answer was clear.</p><p>It didn’t need to be one.</p><p>There was no real conceptual reason for it to exist as a single instance. It was just there because… it seemed convenient.</p><p>So I went back, refactored again, and removed it.</p><p>The final result was clean.</p><p>But the experience left me with questions:</p><ul><li>What are the long-term consequences of a pattern that never needed to exist?</li><li>How risky is it to rely on AI if you don’t understand design patterns — and their trade-offs?</li><li>Is AI a design partner or just a fast code generator?</li><li>What happens if your knowledge of design patterns is frozen in the past?</li><li>Which patterns still make sense and which feel outdated in today’s ecosystem?</li></ul><p>Those questions are the reason this series exists</p><h3>Software Development Has Changed</h3><p>We’re entering a new phase of software development.</p><p>AI can generate architecture.<br>AI can suggest patterns.<br>AI can refactor thousands of lines in seconds.</p><p><strong>But AI doesn’t remove the need for critical thinking.</strong></p><p>If you don’t understand design patterns, you can’t properly evaluate what AI produces.<br>And if your knowledge is frozen in 2005, you might apply patterns in ways that no longer make sense — or misjudge modern architectural decisions.</p><p>This series is about thinking critically in an AI-assisted world.</p><h3><strong>What This Series Will Cover</strong></h3><p>Over the next entries, I’ll explore:</p><ul><li>Whether the original <strong>Gang of Four</strong> patterns are still relevant and how well each one has aged</li><li>Classic design principles like <strong>SOLID, DRY, KISS, YAGNI, and Separation of concerns.</strong></li><li>Modern patterns emerging in JavaScript, React, and Next.js ecosystems</li><li>Common backend and architectural patterns</li><li>Anti-patterns that AI (and humans) still fall into</li></ul><p>The goal is simple:</p><ul><li>Help you use design patterns effectively alongside AI</li><li>Help you evaluate whether AI-generated code is solid or introduces hidden long-term costs.</li></ul><p>Because AI can write patterns.</p><p>But it can’t think critically for you.</p><p>So we’ll start at the foundation.</p><p>In the next article, we begin with the originals:<br>The <a href="https://medium.com/@aramis.cubillo/gang-of-four-design-patterns-c805bb97c899"><strong>Gang of Four design patterns</strong></a><strong>,</strong> and examine how they hold up today.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82f48736feef" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>