{"id":5091,"date":"2025-07-30T21:28:21","date_gmt":"2025-07-30T21:28:21","guid":{"rendered":"https:\/\/techtrendfeed.com\/?p=5091"},"modified":"2025-07-30T21:28:22","modified_gmt":"2025-07-30T21:28:22","slug":"understanding-the-code-modernization-conundrum","status":"publish","type":"post","link":"https:\/\/techtrendfeed.com\/?p=5091","title":{"rendered":"Understanding the code modernization conundrum"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n                  <img width=\"490\" height=\"327\" class=\"alignright size-medium wp-post-image lazyload\" alt=\"\" decoding=\"async\" fetchpriority=\"high\" src=\"https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-490x327.jpg\" srcset=\"https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-490x327.jpg 490w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-300x200.jpg 300w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-1024x682.jpg 1024w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-150x100.jpg 150w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-768x512.jpg 768w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-120x80.jpg 120w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-400x267.jpg 400w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-270x180.jpg 270w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-75x50.jpg 75w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280.jpg 1280w\" data-sizes=\"auto\" data-eio-rwidth=\"490\" data-eio-rheight=\"327\"\/><img width=\"490\" height=\"327\" src=\"https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-490x327.jpg\" class=\"alignright size-medium wp-post-image\" alt=\"\" decoding=\"async\" fetchpriority=\"high\" srcset=\"https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-490x327.jpg 490w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-300x200.jpg 300w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-1024x682.jpg 1024w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-150x100.jpg 150w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-768x512.jpg 768w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-120x80.jpg 120w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-400x267.jpg 400w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-270x180.jpg 270w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280-75x50.jpg 75w, https:\/\/sdtimes.com\/wp-content\/uploads\/2025\/07\/laptop-2595394_1280.jpg 1280w\" sizes=\"(max-width: 490px) 100vw, 490px\" data-eio=\"l\"\/><\/p>\n<p><span style=\"font-weight: 400;\">Like many massive enterprises, we should navigate the sweetness and chaos of legacy code. In our case, many years of SQL procedures and enterprise logic that underpin a platform able to dealing with over 3 million concurrent customers and a whole lot of micro code deployments per week. It\u2019s a fancy machine. Contact one half, and also you threat breaking 10 others. That\u2019s why modernizing the codebase is each a technical problem and a human one. It requires empathy, belief, and the flexibility to make knowledgeable guesses.<\/span><\/p>\n<h4><b>Contained in the Innovation Engine<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">At bet365, the platform innovation operate was established to impress chance. We\u2019re a small, specialised group charged with exploring rising and future applied sciences. Our goal is to establish the place they&#8217;ll have the best influence, and assist the broader group perceive find out how to use them meaningfully.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We\u2019re enablers and ambassadors for change. Our work spans every thing from product improvement and cybersecurity to the way forward for the workforce. Our guiding mannequin is McKinsey\u2019s Three Horizons of Development reimagined for innovation. Horizon 1 focuses on what we will implement right this moment. Horizon 2 explores what\u2019s coming subsequent. Horizon 3 dares us to think about the longer term nobody is speaking about but.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This framework helps us steadiness ambition with pragmatism. It creates house to experiment with out shedding sight of operational worth, and it ensures our builders, architects, and stakeholders are all a part of the identical dialog.<\/span><\/p>\n<h4><b>When GenAI Met Builders<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">When GPT-4 dropped in 2023, every thing modified. Like most within the tech world, we have been fascinated. Generative AI provided a tantalizing imaginative and prescient of the longer term full of sooner insights, immediate summaries, and automatic refactoring. However the pleasure shortly gave method to doubt. We handed very succesful builders a robust LLM and stated, \u201cGo for it.\u201d The outcomes have been blended at greatest.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">They inserted code into the immediate home windows, stripped out context to avoid wasting house, and hoped the AI would perceive. It didn\u2019t. Builders have been confused, annoyed, and, understandably, skeptical. They noticed the AI as a shortcut, not a associate, and when the output didn\u2019t match expectations, frustration adopted. Many requested the identical query: \u201cWhy am I asking a machine to jot down code I might simply write myself?\u201d<\/span><\/p>\n<p><span style=\"font-weight: 400;\">What we realized was profound. The issue wasn\u2019t the AI. It was the connection between the AI and the individual utilizing it. We had assumed that ability in software program engineering would robotically translate to ability in immediate engineering. It didn\u2019t. Did we miss one thing? The purpose we couldn\u2019t overlook was throughout the train, our builders have been finishing the duties constantly round 80% of estimated time. There was positively one thing right here. We simply weren\u2019t positive what it was.<\/span><span style=\"font-weight: 400;\">\u00a0 <\/span><span style=\"font-weight: 400;\">So,<\/span> <span style=\"font-weight: 400;\">we went again to fundamentals.<\/span><\/p>\n<h4><b>Vibe Coding and the Limits of Belief<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">There\u2019s a brand new time period in developer tradition: \u201cvibe coding.\u201d It\u2019s the place you throw a bit of code at an LLM, get a response, tweak it, throw it again. Iterate quick. Ship sooner. It\u2019s fashionable. It\u2019s seductive. However it isn\u2019t threat free.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">And not using a clear understanding of intention or context, vibe coding can shortly turn into a recreation of trial and error. And when your system is as advanced as ours \u2013 many databases processing 500,000 transactions a second \u2013 \u201ctrial and error\u201d isn\u2019t adequate. We wanted greater than vibes. We wanted imaginative and prescient.<\/span><\/p>\n<h4><b>Context Over Content material<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">The turning level got here after we realized the actual job wasn\u2019t instructing AI find out how to write higher code. It was instructing people find out how to talk with AI. We realized a brand new mantra: intention + context + element. That\u2019s what the AI wants. Not simply content material. Not simply \u201crepair this operate.\u201d However: \u201cRight here\u2019s what this code does, right here\u2019s why it issues, and right here\u2019s what I want it to turn into.\u201d This perception is essential.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Our builders, particularly these tackling essentially the most advanced, interdependent issues, tailored shortly. They have been used to considering deeply, offering rationale, and navigating ambiguity. They acquired it. They fed the AI what it wanted. They flourished. The distinction was mindset. We got here to name this phenomenon \u201cthe unreliable narrator.\u201d Not simply the AI, however the developer. As a result of usually, the issue wasn\u2019t that the machine acquired it unsuitable. It was at instances that we weren\u2019t clear on what we have been asking.<\/span><\/p>\n<h4><b>RAG, GraphRAG, and the Energy of Grounded Context<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">To construct dependable, human-aligned AI assist we wanted a method to floor what the AI was seeing in truth. That\u2019s the place we noticed the facility of Retrieval-Augmented Technology (RAG). RAG permits an AI mannequin to retrieve related context from an exterior supply \u2013 like documentation, system metadata, or a data base \u2013 earlier than producing a response. It\u2019s sooner to implement and extra versatile than fine-tuning, making it ideally suited for dynamic, domain-intensive environments like ours. Builders can replace the data base with out retraining the mannequin, retaining outputs present and grounded.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However RAG has its limits. When a query spans a number of methods or requires reasoning throughout disconnected items of knowledge, conventional RAG, which relies on textual content similarity, begins to falter. That\u2019s why we turned to GraphRAG, a extra superior strategy that makes use of a data graph to reinforce LLM outputs.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A data graph doesn\u2019t simply maintain info, it encodes relationships. It captures how parts work together, the place dependencies lie, and what might break in case you change one thing. GraphRAG makes use of this construction to enhance prompts at question time, giving the AI the relational context it must reply with precision. That is very true in environments the place accuracy is essential, and hallucinations are unacceptable.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As a real-world train, we checked out our SQL server property. We wished to construct a system that we might use to realize worthwhile perception on how the system works.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To construct it, we began by parsing all our database objects together with tables, views, procedures, features, and so on. into summary syntax bushes (ASTs). Utilizing Microsoft\u2019s ScriptDOM, we extracted key info and used them to assemble the preliminary data graph. We overlaid this with pure language descriptions to additional clarify what every factor did, and added runtime statistics like execution frequency, CPU time, and skim volumes.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The end result was a wealthy, relational illustration of our SQL property, full with contextual insights about how objects are consumed and the way they work together. Then we surfaced this intelligence to builders by three core instruments:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A chatbot that lets customers question the system in plain language<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A visualiser that renders a 3D map of dependencies and relationships<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A Cypher executor for superior graph querying and evaluation<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">What\u2019s necessary to notice is that a lot of the system\u2019s worth lies within the graph, not the mannequin. The AI doesn\u2019t must know every thing. It simply must know the place to look, and find out how to ask the suitable questions. That\u2019s the facility of grounding.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For us, GraphRAG wasn\u2019t only a nice-to-have, it grew to become important. It helped us transfer from generic code help to one thing much more worthwhile: a system that understands what our code means, the way it behaves, and what it impacts.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We\u2019re not simply writing code anymore. We\u2019re curating it. We\u2019re shaping the intentions behind it. Our builders now have tooling to realize additional perception to turn into code reviewers, system designers, and transformation brokers at an<\/span> <span style=\"font-weight: 400;\">professional stage throughout enormous division spanning architectures. All from a easy interface permitting pure language inquiries That\u2019s the actual shift. The long run isn\u2019t about AI doing our jobs. It\u2019s about reimagining what the job is.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The success of our code modernization program has little to do with algorithms and every thing to do with perspective. We needed to unlearn outdated habits, rethink our relationship with code, and embrace a tradition of curiosity. We needed to cease asking AI for solutions and begin giving it the suitable questions. The expertise was the simple half. The individuals half, now that was the actual breakthrough.<\/span><\/p>\n<\/p><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Like many massive enterprises, we should navigate the sweetness and chaos of legacy code. In our case, many years of SQL procedures and enterprise logic that underpin a platform able to dealing with over 3 million concurrent customers and a whole lot of micro code deployments per week. It\u2019s a fancy machine. Contact one half, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":5093,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[977,4378,4377,2742],"class_list":["post-5091","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-code","tag-conundrum","tag-modernization","tag-understanding"],"_links":{"self":[{"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/posts\/5091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5091"}],"version-history":[{"count":1,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/posts\/5091\/revisions"}],"predecessor-version":[{"id":5092,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/posts\/5091\/revisions\/5092"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/media\/5093"}],"wp:attachment":[{"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- This website is optimized by Airlift. Learn more: https://airlift.net. Template:. Learn more: https://airlift.net. Template: 69d9690a190636c2e0989534. Config Timestamp: 2026-04-10 21:18:02 UTC, Cached Timestamp: 2026-05-16 06:26:15 UTC -->