<?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 Fredrik Johannesen on Medium]]></title>
        <description><![CDATA[Stories by Fredrik Johannesen on Medium]]></description>
        <link>https://medium.com/@fredrik.johannesen?source=rss-e575f4da1ce3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Fredrik Johannesen on Medium</title>
            <link>https://medium.com/@fredrik.johannesen?source=rss-e575f4da1ce3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 06:02:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fredrik.johannesen/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[Quality Assurance: Finding its Place in an Agile Context]]></title>
            <link>https://medium.com/@fredrik.johannesen/quality-assurance-finding-its-place-in-an-agile-context-385e10042b8a?source=rss-e575f4da1ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/385e10042b8a</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[automated-testing]]></category>
            <category><![CDATA[agile-testing]]></category>
            <dc:creator><![CDATA[Fredrik Johannesen]]></dc:creator>
            <pubDate>Sun, 08 Oct 2023 21:00:50 GMT</pubDate>
            <atom:updated>2023-10-08T21:00:50.816Z</atom:updated>
            <content:encoded><![CDATA[<p>Testing, or Quality Assurance (QA), poses a unique challenge in fitting into an agile context. Testers often lean towards a non-agile approach, preferring a comprehensive understanding of the problem domain before considering their work complete. While dedication to their craft is commendable, this inclination can create friction between developers and testers. In the Agile world, where imperfect releases are accepted for the sake of gathering customer insights, this clash intensifies. Compounding the issue is the common practice of segregating QA within an organization, hindering collaboration between testers and developers.</p><p>Having dedicated testers on a team can lead to a few challenges:</p><ul><li>Developers might become overly reliant on testers to identify and fix issues, diminishing their accountability for code quality.</li><li>Repetitive work emerges as developers often test the same features they’ve built. This is evident when a tester’s initial query is often, “How do I test this feature?”</li><li>Queue times for items in the “testing” phase can be prolonged, especially considering the usual imbalance with more developers than testers on a team.</li></ul><p>In discussing testing strategies, it’s crucial to acknowledge that different approaches are warranted depending on the system’s state. For the purpose of this blog post, the assumption is made that the system is relatively new and doesn’t present the challenges associated with legacy software, such as the inability to execute automated testing.</p><p>Drawing from personal experience, I’ve found that testing is most effective when responsibility for the system’s quality is a collective effort.</p><blockquote>In this model, everyone becomes, to some extent, a tester.</blockquote><p>Similar to other specialized roles, I prefer to view Quality Assurance as more of a Quality Assistance role. QA professionals act as experts in their domain, similar to having a DevOps expert on the team who assists with automated pipelines and infrastructure-related matters. This collaborative approach fosters a shared commitment to delivering a high-quality product.</p><blockquote>The testers purpose is to help the team to test — not to be the one that does all the testing.</blockquote><h4>Automate as much as possible</h4><p>While many are familiar with the <a href="https://martinfowler.com/bliki/TestPyramid.html">testing pyramid</a>, for those who may not be, the guiding principle is to prioritize tests that offer quick feedback and are easy to create, such as unit tests. The pyramid concept advocates having a larger proportion of tests at the lower levels — like unit tests — and fewer at the upper levels, including integration and end-to-end tests. This approach aims to ensure a robust foundation of fast, targeted tests that form the basis for a reliable and efficient testing strategy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/0*47qU_M_8qpXx07PH.png" /></figure><p>The effectiveness of this approach varies depending on the nature of the systems in consideration. It’s a common pitfall to be overly reliant on unit tests, and therefore, it’s crucial to complement them with integration tests for all critical processes. Additionally (if applicable), incorporating UI tests for essential components is highly recommended. This not only enhances the overall testing strategy but proves especially valuable in saving time when conducting tests across different browsers and operating systems.</p><p>Various models, such as the testing diamond, the testing honeycomb, and the testing trophy, offer alternative perspectives to the traditional testing pyramid. However, what unifies these models, excluding the testing ice cone, is their emphasis on a high degree of automation. If you’re interested in delving deeper, there’s an excellent blog post available <a href="https://web.dev/ta-strategies/">here</a>, providing valuable insights into these alternative testing structures.</p><h4>Summary</h4><p>Ensuring quality is not the sole responsibility of an individual; it’s a collective duty shared by everyone involved. Assigning this responsibility to a limited number of individuals can potentially turn testing into a bottleneck and introduce friction between developers and testers. A more effective approach is to view Quality Assurance as Quality Assistance, where QA professionals support developers in various testing aspects, serving as mentors. This collaborative effort, backed by a suitable automated testing model tailored to the system, fosters a more seamless and efficient development process compared to relying solely on external quality control. And remember:</p><blockquote>If you have a tester in the team, you will have a “ready for testing” column…and the queue in it will be long!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=385e10042b8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[To Estimate or Not to Estimate in Software Development: A Practical Perspective]]></title>
            <link>https://medium.com/@fredrik.johannesen/to-estimate-or-not-to-estimate-in-software-development-a-practical-perspective-c958df3e3f33?source=rss-e575f4da1ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c958df3e3f33</guid>
            <category><![CDATA[estimations]]></category>
            <category><![CDATA[noestimates]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Fredrik Johannesen]]></dc:creator>
            <pubDate>Mon, 04 Sep 2023 21:28:07 GMT</pubDate>
            <atom:updated>2023-09-04T21:28:07.853Z</atom:updated>
            <content:encoded><![CDATA[<p>In software development, there’s no universal solution for every situation, and the same goes for this topic. Some, particularly traditional managers, firmly advocate for hourly estimations, while others passionately support the #noEstimates movement.</p><p>But rather than seeking a definitive right or wrong, let’s diverge from this common path in software development. Instead, we can look into identifying the kinds of tasks that might benefit from estimation and those that have little value in being estimated.</p><blockquote>Being forced to estimate everything <em>can </em>be a tell that there are trust issues in the organization.</blockquote><h3>Concerns when estimating</h3><p>There really are a number of serious problems relating to the estimation of software work, some of them are:</p><ul><li><strong>Predefined backlogs of work:</strong> this will reduce creativity and inhibit steering the project for success.</li><li><strong>A rigid deadline for the completion of “everything”</strong>. This is an ineffective approach, which has been proven over and over again.</li><li><strong>Estimates as guarantees:</strong> this often results in overly cautious teams and underwhelming achievements. The risk is either to be too optimistic or too pessimistic.</li><li>Instead of focusing on refining estimation accuracy, efforts might be better invested in enhancing overall product quality.</li><li>Wasting time on estimation (for things that cannot be estimated) instead of spending time on getting things done</li><li><strong>Task bloating: </strong>People understand that they will most likely get in more trouble if they underestimate, than if they overestimate work. Excellent blog post <a href="https://emaggiori.com/employed-in-tech-for-years-but-almost-never-worked/">here</a>.</li></ul><h3>Concerns without estimations</h3><p>Let’s be honest here. It’s unlikely that anyone would invest in a significant expense without some form of plan and cost estimate. For instance, hiring a contractor to build a house would involve knowing the expected cost and timeframe. Would it be a $100 or $100,000 endeavor? If the contractor can’t provide a rough estimate, it’s doubtful you’d proceed with the project.</p><p>Admittedly, the beginning of a software project is probably the trickiest time to estimate since information is limited. However, your educated guess is likely to be more accurate than anyone from the business side, and sometimes, making that estimate is just part of the job.</p><p>Some concerns without estimations:</p><ul><li><strong>Unclear Prioritization:</strong> Without estimations, it can be challenging to determine the order in which tasks should be tackled, potentially leading to confusion about what’s most important.</li><li><strong>Resource Allocation:</strong> Absence of estimates may make it difficult to allocate resources effectively, leading to imbalanced workloads among team members.</li><li><strong>Risk Management: </strong>Estimations play a role in identifying and managing potential risks, which can become a blind spot without proper assessment.</li><li><strong>Deadline Alignment:</strong> Without estimations, it’s harder to align project timelines with business goals and expectations, potentially leading to delays or missed opportunities.</li><li><strong>Budget Management:</strong> Estimations are crucial for budget planning and control, and their absence can lead to financial unpredictability.</li><li><strong>Stakeholder Communication:</strong> Clear estimations provide stakeholders with an understanding of progress, which can be compromised without this information.</li><li><strong>Resource Planning:</strong> Without estimates, teams might struggle to plan and allocate their efforts, leading to inefficiencies and lack of direction.</li></ul><h3>What type of work could (and should) be estimated?</h3><p>These are some type of work that could bring a lot of value to be estimated:</p><ul><li><strong>High-Risk Projects:</strong> Estimating is crucial for projects with high levels of risk or uncertainty, helping stakeholders understand the potential challenges and mitigate risks proactively.</li><li><strong>Complex Features:</strong> Estimations help in breaking down complex features into manageable tasks, ensuring a structured approach to development.</li><li><strong>Regulatory Compliance:</strong> Industries with strict regulatory requirements, such as healthcare or finance, benefit from estimation to ensure legal compliance and avoid penalties.</li><li><strong>Cross-Team Dependencies: </strong>Estimation is particularly valuable for identifying and managing dependencies between teams, helping determine when each team can commence their work and ensuring seamless collaboration.</li><li><strong>Client-Facing Projects:</strong> Whether catering to internal or external users, client-facing projects often involve stakeholders who have a legitimate interest in knowing when project deliverables are expected to be completed, making estimation an essential component of project communication and management.</li></ul><h3><strong>What type of work should not be estimated?</strong></h3><ul><li><strong>Routine and Predictable Tasks:</strong> Highly repetitive, routine tasks with minimal variations often don’t require detailed estimation. For example, routine server maintenance or applying security patches. (use measurements instead)</li><li><strong>Prototyping and Proof of Concept:</strong> In early project stages, when building prototypes or proof of concepts, estimations might not be accurate due to the exploratory nature of the work. Instead use “spiking” and time boxing to explore the problem domain.</li><li><strong>Quick Fixes and Small Changes:</strong> Small, straightforward changes that can be completed quickly may not justify the time spent on estimation. It’s often more efficient to address them immediately.</li><li><strong>Establishing fresh infrastructure for a project</strong>, including components like CI/CD, can present considerable challenges when it comes to estimation. These tasks may occur infrequently and are subject to environmental shifts. Furthermore, they are often indispensable — they are tasks that simply must be executed.</li><li><strong>This is a must-do:</strong> For various reasons, there will always be this type of work that, for someone, holds importance despite having unclear deadlines. Typically, these are one-time tasks that won’t be repeated, making detailed estimation of limited value. The focus remains on the task’s completion.</li></ul><h3>How to provide accurate estimations?</h3><p>Offering precise estimations can be quite challenging. It’s notably simpler when you’ve previously tackled similar tasks with a familiar team. However, what do you do when you’re faced with a new problem and an unfamiliar team?</p><p>In such situations, I strongly advocate for allocating a set amount of time to “spike” the project, experimenting, and exploring the problem domain before committing to anything else. If the problem domain and team are unfamiliar, it’s simply unrealistic to expect accurate estimations. Engaging in open discussions with stakeholders, narrowing down the scope, and immersing yourself in the problem are invaluable steps to gain a clearer understanding of the challenge at hand before attempting to estimate.</p><p>I really like the <a href="https://udidahan.com/2014/04/19/noestimates-really/">format </a>used by Udi Dahan:</p><blockquote>This will take a team of N between T1 and T2 and I am P% confident in that range, with the following assumptions (1, 2, 3), and most importantly, that the team does not work on anything else during that period of time.</blockquote><h3>Summary</h3><p>Estimation is a complex subject that, when executed correctly, can benefit both technical and business stakeholders. However, when done inaccurately, it becomes a futile endeavor for everyone involved.</p><p>Prior to investing valuable time in estimation, I stress the importance of first focusing on continuous measurement of ongoing work. It’s crucial to maintain a record of lead times, cycle times etc. and ensure that work items are appropriately categorized. This tracking lays the foundation for future estimations.</p><p>In the next estimation cycle, you can confidently state something like:</p><blockquote>For this specific type of work item, we have an average completion time of x hours, with a maximum of y hours and a minimum of z hours. We can express our confidence level at P% that the task will be completed within x hours.</blockquote><p>This data-driven approach enhances the accuracy and reliability of estimations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c958df3e3f33" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Invaluable Insights for Aspiring Software Developers: What I Wish I Knew When Starting My Career]]></title>
            <link>https://medium.com/@fredrik.johannesen/10-invaluable-insights-for-aspiring-software-developers-what-i-wish-i-knew-when-starting-my-career-532320c235?source=rss-e575f4da1ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/532320c235</guid>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Fredrik Johannesen]]></dc:creator>
            <pubDate>Thu, 20 Jul 2023 19:00:59 GMT</pubDate>
            <atom:updated>2023-07-20T19:00:59.086Z</atom:updated>
            <content:encoded><![CDATA[<h4>Throughout my extensive 15+ years in the tech industry, encompassing roles in development, architecture, and technical leadership, I have accumulated 10 invaluable insights that I’d like to share.</h4><h4>1 Learn more than one programming language</h4><p>Certainly, to excel as a programmer, proficiency in programming is a must. However, it’s crucial to recognize that programming languages not only differ in syntax but also exhibit significant conceptual disparities. For instance, a comparison between object-oriented languages like C# and functional languages like F#, Clojure, or Rust reveals distinct paradigms.</p><p>If you restrict yourself to just one object-oriented language, such as C#, you might inadvertently overlook the immense benefits and unique features offered by other languages. Each language brings its own set of advantages and perspectives to problem-solving, and embracing a variety of languages can broaden your horizons as a developer. For example there are several key concepts and features that could prove immensely useful and eye-opening from a functional language:</p><ul><li>Immutability and Pure Functions</li><li>Higher-order Functions</li><li>Pattern matching</li></ul><h4>2 Learn the fundamentals, libraries and frameworks are transient</h4><p>One crucial lesson I’ve learned over the years is that libraries and frameworks are subject to change, even the ones we love. However, this shouldn’t deter us from exploring them deeply. Instead, it’s vital to focus on understanding their core concepts and the problems they address, along with the reasons they may have replaced older solutions. By grasping these fundamentals, adopting new libraries or frameworks becomes remarkably straightforward.</p><p>Let me share a personal example: I began my journey in modern web development with KnockoutJS and Backbone. Later, I transitioned to AngularJS and Angular. Despite their differences, learning React proved to be quite easy, as they all share some similar concepts like:</p><ul><li>Component-Based Architecture</li><li>Data Binding</li><li>State Management</li></ul><h4>3 Soft skills matter — Programming is just one of the skills needed</h4><p>In the world of software development, technical skills are undoubtedly vital, but it’s crucial to recognize that communication, empathy, and leadership abilities are equally essential. Some good ways of improving your communications and leadership skills are:</p><ul><li>Pair-programming / code reviews</li><li>Architecture documentation</li><li>Presentations</li><li>Blogging</li></ul><p>Reflecting on past experiences, I can’t recall a single instance where a project was saved solely due to someone’s outstanding programming skills. However, I can, however, recall multiple occasions where projects suffered setbacks or failure due to a lack of strong leadership or effective communication skills. These non-technical skills play a significant role in the success of any project and can profoundly impact the outcomes we achieve as a team.</p><h4>4 Everything is a trade-off</h4><p>In software development, every situation involves making trade-offs. It’s a constant balancing act between various factors such as flexibility vs. performance, simplicity vs. flexibility, and scalability vs. complexity etc. The key is to select a solution that effectively addresses the present requirements, while being mindful of potential trade-offs.</p><p>After settling on a solution, take the time to reflect on the possible trade-offs involved. Documenting the chosen approach, possibly using an Architectural Decision Record (ADR), ensures transparency and helps the team understand the rationale behind the decision.</p><p>Remember that there are (almost) no silver bullets or perfect solutions. Spending excessive time searching for a one-size-fits-all answer is unproductive. Instead, focus on making informed decisions based on the context and needs of the project at hand, and then proceed confidently to the next steps of development. Embrace the reality of trade-offs in software development and utilize them as opportunities to make thoughtful choices that lead to successful outcomes.</p><h4>5 Understand and evaluate your career path</h4><p>Regularly evaluate your present job circumstances and the direction of your career. Seek out experienced professionals and engage in conversations to understand their roles better, obtaining valuable insights into the diverse career paths available to systems developers.</p><p>It’s not uncommon for many developers to maintain their positions for extended periods, earning designations like “senior developer,” “lead developer,” “principal developer,” and others. Additionally, another common career path involves transitioning into various architecture roles.</p><p>It can be enticing to gravitate towards administrative roles in the pursuit of career advancement. However, be cautious not to discard your technical skillset; instead, leverage your expertise in any role you assume.</p><p>Having a solid technical background is a valuable asset, as there’s a shortage of managers with technical proficiency. Strive to maintain a balance between your technical prowess and honing management and people skills. This balance will open up numerous opportunities for your future career growth.</p><h4>6 Never stop learning</h4><blockquote>Do you have 10 years of experience or 1 year experience over 10 years?</blockquote><p>I believe I came across this insightful quote from <a href="https://www.hanselman.com/">Scott Hanselman</a>, and it profoundly resonates within our industry. Clinging solely to what we already know might seem convenient, but the world around us continues to evolve. Suddenly, we might find ourselves less appealing in the job market, wondering how we fell behind. There are numerous ways to stay updated with the latest trends, you just have to spend some time to find the topics and persons that you find interesting.</p><p>If you are stuck on some old tech at work, I would highly recommend to stay tuned on the tech trends so that you don´t fall too much behind. Have a talk with your manager so that you can do that during work hours.</p><h4>7 Be open-minded</h4><p>Maintain an open mind towards solutions and ideas in the ever-evolving world of software development. Change is the only constant, and as developers, we must wholeheartedly embrace it. During your journey, you’ll encounter individuals with resolute views on technology and practices. Stay receptive to all ideas and solutions, seeking to absorb as much knowledge as you can along the way. Continuous learning and an open attitude will propel your growth in this dynamic field.</p><h4>8 Everyone makes mistakes, learn from theirs and yours</h4><p>I still remember my first real big mistake; it was both painful and embarrassing to bring down the production environment due to my error. However, I took it as a crucial lesson, learning from that mistake and ensuring I never repeated it. Throughout the years, I’ve encountered various errors, bugs that made their way into production etc. Embracing these incidents as learning opportunities, I’ve grown to become a more proficient developer, accumulating valuable experience with each occurrence. Embracing and learning from mistakes is a transformative process that enhances both our skills and insights, ultimately making us better professionals.</p><blockquote>Everyone makes mistakes</blockquote><h4>9 No one will thank you for your extra hours — understand what´s important to you</h4><p>I’ve experienced it firsthand, investing countless hours into a project in an attempt to salvage it. Looking back, there might be moments I regret, but there were also instances that brought the most enjoyment and learning in my career. However, despite the immense effort, I received no (or little) acknowledgment or promotion from management.</p><p>If you choose to put in long and demanding hours, do so with a clear purpose and personal benefit in mind. While it’s unlikely that anyone will express gratitude in the end, the experience and growth you gain can be tremendously valuable. Prioritize your own development and fulfillment, and let that be the driving force behind your dedication and hard work.</p><h4>10 The grass is (most likely) not greener somewhere else</h4><p>In the job market, developers often find themselves in high demand, making it tempting to consider switching jobs when encountering issues at the current workplace. While there can be valid reasons to seek a new environment, such as a toxic work culture that is challenging to change, it’s essential to bear in mind the value of persevering through tough situations and solving challenges in your current role.</p><p>Enduring and resolving difficult scenarios can significantly enhance your skills and experience, leading to personal and professional growth. It’s important to recognize that challenges exist in every workplace; they may just manifest differently. Rather than assuming that a different job will be free of problems, tackling and overcoming obstacles in your current position can be a rewarding and transformative experience. Being resilient and adaptable in your current workplace can ultimately lead to greater expertise and a more fulfilling career journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=532320c235" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Empowering DevOps Success: The Vital Role of Platform Engineering]]></title>
            <link>https://medium.com/@fredrik.johannesen/empowering-devops-success-the-vital-role-of-platform-engineering-41f1c9953dfd?source=rss-e575f4da1ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/41f1c9953dfd</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <dc:creator><![CDATA[Fredrik Johannesen]]></dc:creator>
            <pubDate>Mon, 19 Jun 2023 20:47:24 GMT</pubDate>
            <atom:updated>2023-06-19T21:15:06.888Z</atom:updated>
            <content:encoded><![CDATA[<p>In recent years, DevOps has undeniably brought about significant transformations for numerous organizations. It places strong emphasis on automation, infrastructure as code, continuous integration and delivery (CI/CD), and promoting close collaboration among development, operations, and other stakeholders. By dismantling silos and promoting shared ownership, DevOps strives to attain accelerated release cycles, decreased error rates, and ultimately, enhanced customer satisfaction.</p><h3>Has the pendulum swung too far?</h3><p>In the field of software development, we often display a tendency to swiftly discard our current beliefs and practices in favor of something entirely different and opposing. This can be observed in numerous examples:</p><ul><li>We shifted from server-side rendering to client-side rendering, only to later revert back to server-side rendering.</li><li>Initially, we embraced configuration in code, then transitioned to dynamic configuration, only to return to configuration in code.</li><li>We experimented with build systems using template engines, but eventually returned to using plain build scripts.</li><li>Relational databases were overshadowed by document databases, and now it seems like everything revolves around Postgres.</li></ul><p>While some of these trends take longer to resurface than others, it’s always fascinating when the younger generation discovers concepts like “server-side rendering” as if they are entirely new.</p><p>DevOps itself emerged as a reaction to a time when releasing software required cumbersome CAB (Change Advisory Board) meetings, detailed deployment instructions, manual placement of executables in designated file areas, and the need to request permissions to access log files, among other challenges.</p><p>I ponder whether we may have taken DevOps too far, particularly when it comes to feature teams functioning within an enterprise setting. Based on my observations, there is a significant number of individuals who find the initial setup of components like databases, APIs, or (Lambda) functions intriguing. However, as time progresses, many lose interest and relinquish the responsibility for infrastructure to a single person, often the most senior engineer. This senior engineer then becomes burdened with the setup and the task of addressing requests from less experienced colleagues. This situation puts a strain on the broader organization, as it misuses valuable and talented resources, hindering the ability to deliver features with the same speed and reliability.</p><p>Moreover, when discussing more intricate matters like networking, Kubernetes clusters, and similar topics, we find ourselves with an even smaller group of individuals who possess the required interest and skills to handle these complexities alongside their other development duties.</p><h3>Defining Platform Engineering</h3><p>Platform teams have existed in some form for a considerable duration. However, their interests have often diverged from those of feature teams, creating a sense of conflict. Unlike feature teams, platform teams were not directly responsible for delivering software to end customers. Instead, their focus was primarily on maintaining stable and secure infrastructure.</p><p>In the insightful book “<a href="https://medium.com/@fredrik.johannesen/team-topologies-a-must-read-for-technical-leaders-36252b7223d8">Team Topologies</a>”, both Platform teams and Enabler teams are introduced as entities that assist feature teams in delivering better and more robust software to end users. Platform engineering, in essence, involves building self-service capabilities to minimize developers’ cognitive load and facilitate faster software delivery. The outcome of platform teams’ efforts is a shared infrastructure platform for internal users, which operates with a product-oriented mindset.</p><blockquote>From my experience, in an enterprise context, feature teams spend approximately 90–95% of their time on relatively straightforward tasks such as creating new APIs, functions, or web applications.</blockquote><p>These activities should be effortless and inherently secure. Platform engineering should enable this by providing tools like managed Kubernetes services or standardized build packages, ensuring simplicity in their utilization. The majority of a feature team’s time should be dedicated to delivering features to end users, rather than struggling with infrastructure-related complexities.</p><h3>Golden paths and paved roads</h3><p>Let’s be more specific. Today, most CI/CD setups are focused on updating images. This process involves building the images within the CI system, updating the image path in configurations, and considering the deployment use cases as completed. This approach adequately covers most deployment scenarios. However, when we need to go beyond this basic workflow, things become more complex and time-consuming. For example:</p><ul><li>Modifying configurations and adding environment variables</li><li>Incorporating additional services and dependencies</li><li>Managing rollbacks</li><li>Creating new environments</li><li>Modifying or adding resources</li><li>Enforcing Role-Based Access Control (RBAC)</li></ul><p>The list extends further. Platform engineering plays a crucial role in bringing all these aspects together into a cohesive and well-structured framework. Rather than expecting everyone to manage all of these components and possess an extensive understanding of the entire toolchain, platform engineers provide the necessary integration to deliver a consistent self-service experience.</p><h3>Summary</h3><p>At the beginning of my DevOps journey, I held the belief that teams should take complete ownership of their infrastructure and handle both operational and development responsibilities. However, I have come to realize that there are only a limited number of individuals who possess the interest and skill set to effectively fulfill these dual roles. From an efficiency standpoint, it is not practical to expect every team to manage their infrastructure in its entirety.</p><p>Instead, I strongly believe that teams should be empowered to explore and discover the best solutions for their needs. They should have the autonomy to make decisions, while being supported by experts in Platform engineering. By leveraging the knowledge and guidance of these specialists, teams can navigate the complexities of infrastructure effectively and find optimal solutions. This approach enables a balance between team empowerment and accessing the necessary expertise to make informed decisions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41f1c9953dfd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Team Topologies — A must-read for technical leaders]]></title>
            <link>https://medium.com/@fredrik.johannesen/team-topologies-a-must-read-for-technical-leaders-36252b7223d8?source=rss-e575f4da1ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/36252b7223d8</guid>
            <category><![CDATA[technical-leadership]]></category>
            <category><![CDATA[system-architecture]]></category>
            <dc:creator><![CDATA[Fredrik Johannesen]]></dc:creator>
            <pubDate>Thu, 18 May 2023 20:50:00 GMT</pubDate>
            <atom:updated>2023-05-19T17:54:09.863Z</atom:updated>
            <content:encoded><![CDATA[<h3>Team Topologies — A must-read for technical leaders</h3><p>I have always held the belief that most systems are unique, stemming from the fact that they are constructed by individuals within a specific context and influenced by a particular culture.</p><blockquote>This uniqueness makes it challenging to impose uniform practices on teams, as each team operates under different constraints and possesses varying possibilities.</blockquote><p>However, throughout my professional career in medium to large-sized enterprise companies, I have observed that numerous teams encounter similar difficulties and struggle to optimize their workflow. It wasn’t until I came across the book “<a href="https://teamtopologies.com/book">Team Topologies</a>” authored by Matthew Skelton and Manuel Pais that I was able to identify the commonalities among these teams and comprehend why attempts at standardization often prove ineffective.</p><p>The book offers insights and practical guidance on how to effectively organize and structure teams in order to optimize the flow of work and improve overall productivity in modern technology organizations.</p><p>The book emphasizes the importance of understanding the unique characteristics and needs of the organization when designing team structures. It introduces a set of team topologies, which are specific patterns for organizing teams based on their interaction and collaboration. These team topologies include:</p><ol><li><strong>Stream-Aligned Team</strong>: This type of team is responsible for delivering a specific product or service, focusing on end-to-end ownership and minimizing dependencies.</li><li><strong>Enabling Team</strong>: Enabling teams support and empower other teams by providing tools, platforms, and expertise. They aim to reduce friction and improve the productivity of other teams.</li><li><strong>Complicated-Subsystem Team</strong>: This team is responsible for complex subsystems or components that require specialized knowledge and expertise. They help ensure high-quality outputs and reduce risks.</li><li><strong>Platform Team</strong>: Platform teams focus on building and maintaining the shared platforms, services, and infrastructure that other teams rely on. They enable teams to work more efficiently and scale their solutions.</li></ol><p>The book provides practical guidance on how to choose the right team topologies for a given organization and situation, as well as how to evolve and adapt team structures over time. It also discusses the impact of Conway’s Law, the relationship between team communication and architecture, and the importance of cognitive load in team design.</p><p>“Team Topologies” is highly recommended for technical managers working in medium to large companies. It offers valuable insights and actionable advice on how to improve team effectiveness, foster collaboration, and create a more streamlined and efficient organization. By implementing the concepts presented in the book, managers can enhance their understanding of team dynamics, optimize team interactions, and ultimately achieve faster delivery of high-quality products and services.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36252b7223d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The only way to prevent technical debt]]></title>
            <link>https://medium.com/@fredrik.johannesen/the-only-way-to-prevent-technical-debt-401b56e2143e?source=rss-e575f4da1ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/401b56e2143e</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[technical-debt]]></category>
            <dc:creator><![CDATA[Fredrik Johannesen]]></dc:creator>
            <pubDate>Wed, 26 Apr 2023 21:54:46 GMT</pubDate>
            <atom:updated>2023-05-19T17:51:53.181Z</atom:updated>
            <content:encoded><![CDATA[<p>In the past, I held the belief that the grass was greener elsewhere and that my recurring encounter with technical debt was simply a result of bad luck. However, I now realize that technical debt exists everywhere, and it begins as soon as code is deployed to the production environment.</p><p>My perspective changed after reading about Twitter’s experiences during Elon Musk’s entry into the company. Former engineers shared insights into Twitter’s codebase, and while some of it may be taken with a grain of salt, what struck me was the repeated mention of technical debt. This made me think: if the world’s best engineers work at large tech companies, they must be better at managing code quality than the average enterprise company, right?</p><blockquote>If technical debt happens everywhere, it should be treated as something that is <strong>normal </strong>and part of the job to handle</blockquote><h4>Where does the word come from?</h4><p>The term “technical debt” was first coined by Ward Cunningham, a software developer and one of the creators of the Agile Manifesto, in the early 1990s. Cunningham used the analogy of financial debt to describe the phenomenon where a development team takes shortcuts in the software development process, such as using quick and dirty code to meet a deadline, instead of following best practices that would require more time and resources.</p><p>Just like financial debt, technical debt incurs interest over time. The shortcuts taken by the development team may solve the immediate problem, but can create problems down the line, such as bugs, maintenance difficulties, and even system failures. These problems can accumulate and compound over time, causing more significant issues and increasing the amount of work required to maintain the software. Therefore, just like financial debt, technical debt must be repaid, often at a higher cost than if it had been addressed in the first place.</p><h4>Things to consider when removing technical debt</h4><p>When dealing with technical debt that has accumulated over a long time, there are several factors to consider. Technical debt can take various forms, from a developer’s personal preference (which is not a technical debt) for a particular framework to the use of an outdated or unsupported version of a critical infrastructure component. Thus, it’s crucial to take into account various aspects when planning and removing technical debt.</p><p><strong>Categorize and understand —</strong> To effectively address technical debt, start by categorizing and prioritizing the most critical issues that are impacting your software’s performance, stability, and maintainability. Assign priority levels to each issue based on severity and impact. Categorize technical debt into architectural/design (often integration-related problems), code (caused by poor-quality code that is difficult to read, maintain, or extend), or infrastructure (outdated or inadequate hardware, software, or development tools) debt. Additionally, it’s useful to add a confidence score to each issue, indicating the likelihood of completion once started.</p><p><strong>Easy win vs. most strategic — </strong>When dealing with technical debt, it’s essential to prioritize the issues that need to be addressed. One approach is to start with the most strategic and important technical debt items. However, in some cases, it might be more beneficial to begin with easy wins. An easy win refers to a technical debt item that can be addressed quickly and has an immediate positive impact. By starting with easy wins, you can build momentum and demonstrate progress to the team and stakeholders.</p><p>The decision of whether to tackle the most strategic or easy win technical debt items first depends on the project’s needs and circumstances. For example, if the team is struggling with low morale or feeling overwhelmed, focusing on easy wins can help boost morale and provide a sense of progress. However, if the project has significant technical debt issues that are causing critical performance or stability problems, it may be necessary to address the most strategic and important items first.</p><p>Ultimately, the key is to strike a balance between addressing critical technical debt issues and maintaining team motivation and momentum.</p><p><strong>Try to minimize the number of actions taken to address technical debt within the same category —</strong> When dealing with technical debt, it can be tempting to try to address multiple issues at once, particularly if they are within the same category. However, this can often be counterproductive, as it can lead to unfinished work and further complications. Instead, it’s best to focus on one category of technical debt at a time, and to ensure that each issue within that category is fully addressed before moving on to the next category.</p><p><strong>Only start with things that are likely to finish — </strong>When starting to address technical debt, it is important to prioritize the items that are most likely to be completed successfully.</p><blockquote>There is nothing worse than having multiple actions started but left unfinished, with only 10%, 30%, or 50% of the work completed.</blockquote><p>Incomplete actions can cause more problems than if nothing had been done at all, leading to even more technical debt in the long run.</p><p><strong>Avoid the rewrite — </strong>Rewriting is a daunting and risky task that should only be considered as a last resort. It is often referred to as the “big bang” approach, where the old part is replaced all at once with a new one. The problem with this approach is that it requires a significant amount of time and resources, and it introduces a high level of risk. There is no guarantee that the new part will work better than the old one, and it is common for rewrites to fail or fall behind schedule.</p><p>Furthermore, rewriting a system from scratch often leads to technical debt as well. This is because deadlines and pressures to deliver a working system can lead to shortcuts being taken, resulting in poor design decisions, incomplete testing, and other technical debt issues. Additionally, the new part may not be able to fully replace the functionality of the old one, leading to the need to maintain both the old and new part, increasing the workload and complexity.</p><h4>How to avoid technical debt?</h4><p>Developers should strive to make small, incremental improvements to the codebase and the systems it relies on, even if there’s no immediate need to do so. Instead of waiting for a critical issue to arise, which may require significant time and resources to fix, developers can tackle small issues and make minor improvements regularly. This helps to prevent technical debt from accumulating over time, as well as to ensure that the codebase remains stable, efficient, and easy to maintain. This is called the “boy scout rule” or the “boy scout principle” which refers to that a boy scout would leave a campsite cleaner than they found it.</p><p>In contrast, waiting until a critical need arises can create a sense of urgency, leading to rushed decisions or workarounds that may not be the best solution. This approach can also result in technical debt, where developers cut corners or ignore best practices in order to get something done quickly. As a result, technical debt can accumulate, leading to issues that are more difficult and time-consuming to fix later on.</p><p>Great systems require the right <strong>culture</strong> and <strong>environment</strong> to be developed. Even if you have talented developers, without a supportive culture and environment that values quality, technical debt will accumulate due to poor decision-making.</p><p>Quality should be an integral part of every team’s workflow, and non-technical stakeholders shouldn’t have to prioritize and plan for it separately.</p><blockquote>Developing <strong>trust </strong>within the culture is essential</blockquote><p>Developers trusting that stakeholders are prioritizing important tasks and stakeholders trusting that developers are working on the right things and not just doing technical tasks for the sake of it.</p><p>Remember, technical debt is not an unavoidable consequence of development work; rather, it’s the result of a negative culture that accepts suboptimal quality. Therefore, to be able to prevent technical debt, it’s essential to prioritize a culture that supports continuous improvement and quality work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=401b56e2143e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Balancing Efficiency and Talent Development: The Role of Generative AI in System Development]]></title>
            <link>https://medium.com/@fredrik.johannesen/balancing-efficiency-and-talent-development-the-role-of-generative-ai-in-system-development-789d5cdda3e0?source=rss-e575f4da1ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/789d5cdda3e0</guid>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Fredrik Johannesen]]></dc:creator>
            <pubDate>Tue, 18 Apr 2023 20:57:39 GMT</pubDate>
            <atom:updated>2023-04-26T19:03:51.543Z</atom:updated>
            <content:encoded><![CDATA[<p>Many people are aware of the impressive capabilities of GPT-4 in the realm of generative AI, particularly in regards to code generation.</p><p>This technology allows developers to automate certain tasks, such as code generation and optimization, which can accelerate the development process. However, while generative AI has many benefits, it also poses certain risks.</p><h3>How generative AI can improve system development efficiency</h3><p>Writing code is fun and creative, but it can also be repetitive and frustrating at times. There are many tasks that could, and should be automated to allow developers to focus on more complex tasks that provide more direct business value. Tasks that have potential to be automated could be things like:</p><ul><li>Creating a config for a CI/CD pipeline</li><li>Infrastructure as code</li><li>Boilerplate code for I/O operations</li><li>API clients (generated from documentation)</li><li>Converting code from different representations etc.</li><li>Bootstrapping a client application</li><li>Generating animations</li><li>Generating templates and styles</li></ul><p>However, during all my years of software development, the writing is just a small part of being a developer. Understanding how code works, dependencies between systems, and what a code change could potentially break, is probably ~80% of the work. We <strong>read </strong>a lot of code! This is where AI can <em>potentially </em>make an even greater impact on system development efficiency.</p><p>By analyzing large datasets and identifying patterns and relationships in code, generative AI can help developers better understand how code works and predict the potential impact of code changes.</p><h3>The Impact of Generative AI on Entry-Level Developers</h3><p>Generative AI may pose a particular risk for junior developers. As AI systems are capable of performing tasks traditionally carried out by entry-level developers, there is a possibility that the need for such positions may decrease. This could result in a shortage of senior developers in the future, as junior developers are not given the opportunity to gain valuable experience and advance in their careers.</p><p>Creating effective prompts for generative AI requires a comprehensive understanding of the topic. This knowledge cannot be gained overnight and often requires significant time and effort to develop. It’s not just about generating any code but generating the right code that produces the <strong>desired </strong>outcome.</p><p>When I’ve used generative AI, I’ve gotten the right answers because I have enough knowledge to understand when the AI is wrong and thus ask follow-up questions until I’m satisfied with the answer.</p><p>On one hand, generative AI has the potential to revolutionize code development and make it more accessible to individuals without formal coding training. On the other hand, the effectiveness of the AI system relies heavily on the quality of the prompts provided, which requires a deep understanding of code. This presents a significant challenge for individuals who want to leverage generative AI to develop code but lack the necessary knowledge to do so effectively.</p><p>Finding a balance between using generative AI to improve efficiency and providing opportunities for junior developers to learn and grow is essential to avoid future talent shortages. Companies should consider the impact of generative AI on their workforce and invest in the development of junior developers to avoid future talent shortages.</p><h3>Conclusion</h3><p>Generative AI is a rapidly developing technology that is here to stay. However, it is unlikely that companies will replace a significant portion of their workforce with AI agents in the near future. The use of generative AI for code development in complex systems in sectors such as public, finance and healthcare still requires a significant amount of development and trust-building.</p><p>Startups are likely to be the first to benefit from generative AI. By leveraging generative AI for producing Minimum Viable Products (MVPs), testing market fits, and reducing time-to-market, startups can gain a competitive advantage without the need for expensive developer resources.</p><p>Will companies ever be willing to send their code for analysis by an AI system? While there are potential benefits, there are also significant risks to consider. Sending code to an external AI system poses a threat to the security and privacy of the company’s sensitive or proprietary information. If this information is accessed or stolen, it could lead to reputational and financial damage for the company.</p><p>However, while generative AI is rapidly evolving, its application in critical systems requires a high level of precision and accuracy, which may not yet be achievable with current technology. As such, while generative AI is set to revolutionize code development, it is unlikely to completely replace human developers anytime soon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=789d5cdda3e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>