-
Notifications
You must be signed in to change notification settings - Fork 0
/
Essay-on-greenfield-software-projects.html
1 lines (1 loc) · 14.6 KB
/
Essay-on-greenfield-software-projects.html
1
<!DOCTYPE html> <html lang="pl"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Essay on greenfield software projects · Rafal Makara</title> <meta property="og:title" content=" Essay on greenfield software projects "> <meta property="twitter:title" content=" Essay on greenfield software projects "> <meta property="og:description" content=" My personal thoughts on working on greenfield projects. Why do I prefer legacy/mature ones? If you must work on a greenfield then what is it worth to consider? "> <meta name="twitter:card" content="summary" /> <meta name="twitter:site" content="@rafalmakara" /> <meta property="og:image" content="https://rmakara.github.io/assets/20210405_header.jpg" /> <meta name="twitter:image" content="https://rmakara.github.io/assets/20210405_header.jpg" /> <meta name="description" content="Are the greenfield projects all sunshine and rainbows?A couple of weeks ago, we’ve left our previous project. We managed to leave it just after a successful ..."> <link rel="icon" href="https://rmakara.github.io//assets/favicon.ico"> <link rel="apple-touch-icon" href="https://rmakara.github.io//assets/apple-touch-icon.png"> <link rel="stylesheet" href="https://rmakara.github.io//assets/core.css"> <link rel="canonical" href="https://rmakara.github.io//Essay-on-greenfield-software-projects"> <link rel="alternate" type="application/atom+xml" title="Rafal Makara" href="https://rmakara.github.io/feed.xml" /> </head> <body> <aside class="logo"> <a href="https://rmakara.github.io//"> <img src="https://avatars0.githubusercontent.com/u/1880231?v=4" class="logo-avatar"> </a> <span class="logo-prompt code">Back to Home</span> </aside> <aside> <p class="goodbye"> This blog is no longer maintained <br/><br/> Subscribe to new articles at <a href="https://www.sorryengineering.com/">https://www.sorryengineering.com/</a> </p> </aside> <p class="menu"> <br /><br /> <a href="/">EN Articles</a> | <a href="/pl">PL Articles</a> <br /> <a href="/about">About me</a> | <a href="/help">How can I help?</a> | <a href="https://www.linkedin.com/in/rafalmakara/">My LinkedIn Profile</a> </p> <div id="content"> <article> <div class="divider"></div> <div class="center"> <a class="prev" href="/End-users-pain-How-web-dev-and-Scrum-destroy-engineers">Previous article - End-users' pain. How web dev and Scrum destroy engineers.</a> </div> <div class="divider"></div> <h1 class="title">Essay on greenfield software projects</h1> <div class="center"> <time class="code">2021-04-05</time> </div> <div class="divider"></div> <h1 id="are-the-greenfield-projects-all-sunshine-and-rainbows">Are the greenfield projects all sunshine and rainbows?</h1> <p>A couple of weeks ago, we’ve left our previous project. We managed to leave it just after a successful go-live. Thanks to our commitment we delivered it on time. Our company wants to award us for this accomplishment and decided to give us the opportunity to start the new project/product from scratch. We got into a totally new team. Our new team is made of young and dynamic people with an experienced product owner, who understands all the aspects of the agile manifesto. Sounds familiar?</p> <h2 id="time-luxury-of-a-brand-new-project">Time luxury of a brand new project</h2> <p>We are super excited about the new idea. We are coming up with the name for the initiative, creating a code repository, writing down the coding standards and the definition of done. We’re setting 2 week-long sprints and we create a long backlog of user stories.</p> <h3 id="greenfield-software-development">Greenfield software development</h3> <p>In the next weeks, we’re coming up with the abstraction layers to overcome all the issues, that we faced in the previous application when it came to cooperation with the decision-changing customer. We are super proud of 99% of unit tests coverage and continuous deployment applied. Every time we merge something to the master branch, it is getting automatically deployed to the environment! Works like magic.</p> <h3 id="sprint-review-goes-smooth-and-gets-everyone-involved">Sprint Review goes smooth and gets everyone involved</h3> <p>Every two weeks, we’re doing a sprint review for the product owner and we’re showing all the exciting mechanisms, which will allow us to keep the highest quality of the software. Our UK-based product owner is proud of us and after the sprint review she says “excellent job team”.</p> <h2 id="common-pitfalls-of-greenfield-software">Common pitfalls of greenfield software</h2> <p>After 3 months, we discover that we managed to keep committing the code to the repository but we’re still far from delivering the critical user journey. We were very satisfied with all the tools, that we used and the engineering practices we applied. The codebase got bigger and our test environment was automatically getting the next releases but the sanity testing of the whole system today takes about 2 minutes because the end-user cannot complete the journey to get any value from the solution. The set of the business features is pretty much - limited.</p> <h3 id="the-new-existing-code-doesnt-deliver-much-value">The new existing code doesn’t deliver much value</h3> <p>Based on the UI designs that we’ve got, we implemented all of the features for 3 pages. We even managed to apply a feature flags engine, which will allow our future customer to turn on and off specific features on these pages. The critical user journey still doesn’t work.</p> <h3 id="the-new-existing-code-cannot-be-used-by-a-user">The new existing code cannot be used by a user</h3> <p>Of course, we found a good excuse as to why we were showing just the codebase on a screen-sharing session during the sprint reviews. We were not given important implementation from 3rd party software, which was blocking us from getting the data to fulfill our database with something meaningful, so we couldn’t populate the frontend with any data. The application was not possible to be displayed, nor used.</p> <h3 id="first-appearance-of-legacy-code">First appearance of legacy code</h3> <p>The abstraction layers, that we created required one week of refactoring sprint but finally… we ended up with the possibility for limitless extensions when PO will ask for these.</p> <p>We cannot understand why the boss of our PO asks about going live the next month. It seems impossible. The label “higher degree of risk” is being attached to the project. We need to get everyone involved to understand how to rebuild the trust and successfully deliver the solution.</p> <h2 id="customers-top-priorities">Customer’s top priorities</h2> <p>People, who drive the business (e.g. sales, operations, c-levels, account managers) tend to value the elements, which directly correspond to one of the following outcomes:</p> <p>Rising user satisfaction.</p> <ul> <li>Rising customer satisfaction.</li> <li>Rising employee satisfaction.</li> <li>These usually lead to rising revenue in a long term.</li> </ul> <h3 id="key-success-factors-of-brownfield-projects-and-legacy-code">Key success factors of brownfield projects and legacy code</h3> <p>If we think about greenfields in the long term then we need to shift our mindset and learn from past experience. This is where the brownfield projects with good documentation, stable deployment and release strategies, customer support, bug fixing, proper design, and user training usually step in to teach us about the real value.</p> <p>Usually, people from outside of the scrum team in the customer’s organization tend to value more boring stuff much higher than doing all the greenfield software development activities. Reality shows, that the goals and values of the most newly created scrum/development teams are strongly different from the business ones.</p> <h3 id="speed-is-valuable-but-the-long-term-quality-is-a-must">Speed is valuable, but the long-term quality is a must</h3> <p>For the business people, even at the huge scale companies, when the new opportunity appears they simply want to get it done. If the complex software doesn’t allow them to release the new solution in a matter of days then in many cases they see the simple Zapier integration with Google Spreadsheet as more valuable. After they get the lightweight working solution then they will be super happy about the continuation of this idea by implementing a high-quality system for it.</p> <h3 id="building-products-with-no-operational-experience">Building products with no operational experience</h3> <p>Coming back to the beginning of this article, when we mentioned that our developer managed to leave the project just after going live with it.</p> <p>The best understanding of the user’s perspective doesn’t come up from participating in 50 projects during the development phase. As long as the project is not being used by real users, we are just making guesses on how our implementation meets the needs.</p> <h2 id="questions-to-ask-when-starting-a-greenfield-software-project">Questions to ask when starting a greenfield software project</h2> <p>When working on a new greenfield initiative, that’s worth asking the questions:</p> <ul> <li>How our implementation will help in achieving operational excellence after releasing it to production?</li> <li>How are we going to maintain the application and if all of the applied code-level techniques will enable us to keep implementing the new features; or the post-live reality will require us to focus on maintenance in 100%?</li> <li>How are we going to release its new versions? Will we be able to deploy every day?</li> <li>Will the bug fixing become a pain in the ass? Can we assure relevant stability?</li> <li>Will the users like it?</li> <li>What would change if instead of being code-focused we would become end-user-focused? It is most likely, that we would get a better understanding of where the money comes from. The software is starting to make the money once it is released to production. Once we understand it, we will come up with the proper perspective on enabling technology.</li> </ul> <h2 id="purpose-of-the-technology-and-its-maintainability">Purpose of the technology and its maintainability</h2> <p>The purpose of technology is “to enable”.</p> <p>Applying the best engineering practices and keeping the software quality as high as we can are the best steps to reduce the costs in the long term. However, we need to keep in mind that all the practices, which we apply need to come from the needs. Not from our own engineering desires or biases.</p> <p>Eventually, maybe it will make the decision about staying in the project after going live with it much easier? We will not want to run away from what we’ve created and what we are blaming our decision-changing customers for.</p> <p>If you’re given the opportunity to maintain and develop the live system then this is the best opportunity to learn a lot about real software development, management, and delivery techniques.</p> <h2 id="iterations-and-prioritization-to-the-rescue">Iterations and prioritization to the rescue</h2> <p>All the battles around “real Scrum” and “not-by-the-book Scrum” led us to focus on the wrong thing. Mechanics and practices.</p> <p>Agile Manifesto tells us that our ability to respond to constant changes in close collaboration with our customers is the key. What is missing in it is the end-user and proper understanding of the “working software”.</p> <h1 id="begin-with-the-end-in-mind">Begin with the end in mind</h1> <p>Even when working on the new software systems before running them live, we may imagine that we already have our end-users and we want to set our highest priority on satisfying them by early and continuous delivery. That means, by applying the proper prioritization, we may implement the critical journey for the specific user persona first. Wrap it with the best engineering practices required for a given phase and then iterate from it.</p> <p>“Working software” means - really, the working software. Working software means: the end-users may use it to achieve something they need.</p> <h2 id="greenfield-software-projects---what-to-keep-in-mind">Greenfield software projects - What to keep in mind?</h2> <ul> <li>Set up a test environment as early as possible and share it with your customer. Use it to practice frequent and stable deployments. Think about delivery.</li> <li>Focus on defining and delivering the critical user journey first. No bikeshedding.</li> <li>No big architecture upfront doesn’t mean no architecture at all. Starting with the code and repository is not always the best first step. A workshop may work.</li> <li>People will not understand something just because we give them an explanation. Give the team the questions to answer in the early stages and help them to find the answers by themselves; even if you already know them. Quoting (probably) Alberto Brandolini: “It’s not stakeholder knowledge but developers’ ignorance that gets deployed into production”.</li> <li>Communicate the goals and expectations. Make the team understand the business context, not just the descriptions of the Jira tickets.</li> <li>Keep codebase quality as high as possible, but do not over-engineer for something that you think will be needed in the future. Quality is the key in long term.</li> <li>In most cases, when working in a waterfall-kind-of-project, iterations are the best tool for reducing the project’s risk. The critical aspect here is to remember about the working software, after each iteration.</li> <li>Create software that you will want to maintain.</li> </ul> </article> <div class="divider"></div> <div class="page-navigation code"> <a class="home" href="https://rmakara.github.io//" title="Back to Home">Back to Home</a> <br/><br/> <a class="next" href="/Essay-on-benefits-of-CV-driven-development">Next article: Essay on benefits of CV-Driven-Development</a> </div> </div> <br/> <aside> <p class="goodbye"> This blog is no longer maintained <br/><br/> Subscribe to new articles at <a href="https://www.sorryengineering.com/">https://www.sorryengineering.com/</a> </p> </aside> <div class="footer"> <span class="block">© 2023 Rafal Makara</span> <span class="block"><small></> Powered by <a href="https://jekyllrb.com/">Jekyll</a> and <a href="https://github.com/heiswayi/the-plain">The Plain theme</a>.</small></span> </div> </body> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-92815270-1', 'auto'); ga('send', 'pageview'); </script> </html>