2:I[5650,["173","static/chunks/173-b4a1357369b6686e.js","123","static/chunks/app/articles/the-art-and-science-of-building-high-quality-software/page-ca842d300decdf23.js"],"ArticleLayout"] 3:I[9275,[],""] 4:I[1343,[],""] 5:I[2650,["501","static/chunks/c16f53c3-4935902af006763a.js","231","static/chunks/231-5df8fb61e376c60b.js","173","static/chunks/173-b4a1357369b6686e.js","124","static/chunks/124-da3f8f0926d1fc8b.js","185","static/chunks/app/layout-8a874e272fea26fe.js"],"Providers"] 6:I[6864,["501","static/chunks/c16f53c3-4935902af006763a.js","231","static/chunks/231-5df8fb61e376c60b.js","173","static/chunks/173-b4a1357369b6686e.js","124","static/chunks/124-da3f8f0926d1fc8b.js","185","static/chunks/app/layout-8a874e272fea26fe.js"],"Header"] 7:I[231,["231","static/chunks/231-5df8fb61e376c60b.js","173","static/chunks/173-b4a1357369b6686e.js","222","static/chunks/app/articles/page-b6f1b2a0f512fefc.js"],""] 0:["MezRQaEsIzoOK3i9oWyL8",[[["",{"children":["articles",{"children":["the-art-and-science-of-building-high-quality-software",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["articles",{"children":["the-art-and-science-of-building-high-quality-software",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"article":{"author":"Kortby","date":"2023-03-24","title":"The Art and Science of Building High-Quality Software","description":"Software quality is not just about writing code that works—it is about creating solutions that stand the test of time, scale effectively, and provide real value to users. Lets explore the key principles and practices that define high-quality software."},"children":[["$","h1",null,{"children":"The Art and Science of Building High-Quality Software"}],"\n",["$","p",null,{"children":"Software quality isn't just about writing code that works—it's about creating solutions that stand the test of time, scale effectively, and provide real value to users. Let's explore the key principles and practices that define high-quality software."}],"\n",["$","p",null,{"children":"Quality software is not just a product—it's a process of continuous improvement and attention to detail."}],"\n",["$","h2",null,{"children":"Foundation: The Core Pillars of Quality Software"}],"\n",["$","h3",null,{"children":"Reliability"}],"\n",["$","p",null,{"children":"High-quality software performs consistently under various conditions. It handles errors gracefully, manages edge cases effectively, and remains stable under load. This means implementing robust error handling, comprehensive logging, and thorough testing strategies."}],"\n",["$","pre",null,{"className":"language-js","children":["$","code",null,{"className":"language-js","children":[["$","span",null,{"className":"token comment","children":"// Example of robust error handling"}],"\n",["$","span",null,{"className":"token keyword control-flow","children":"try"}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],"\n ",["$","span",null,{"className":"token keyword control-flow","children":"await"}]," ",["$","span",null,{"className":"token function","children":"processUserData"}],["$","span",null,{"className":"token punctuation","children":"("}],"userData",["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n",["$","span",null,{"className":"token punctuation","children":"}"}]," ",["$","span",null,{"className":"token keyword control-flow","children":"catch"}]," ",["$","span",null,{"className":"token punctuation","children":"("}],"error",["$","span",null,{"className":"token punctuation","children":")"}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],"\n logger",["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token method function property-access","children":"error"}],["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token string","children":"'Failed to process user data'"}],["$","span",null,{"className":"token punctuation","children":","}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],"\n error",["$","span",null,{"className":"token punctuation","children":","}],"\n ",["$","span",null,{"className":"token literal-property property","children":"userId"}],["$","span",null,{"className":"token operator","children":":"}]," userData",["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token property-access","children":"id"}],["$","span",null,{"className":"token punctuation","children":","}],"\n ",["$","span",null,{"className":"token literal-property property","children":"timestamp"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token keyword","children":"new"}]," ",["$","span",null,{"className":"token class-name","children":"Date"}],["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token method function property-access","children":"toISOString"}],["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token punctuation","children":")"}],"\n ",["$","span",null,{"className":"token punctuation","children":"}"}],["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n ",["$","span",null,{"className":"token keyword control-flow","children":"throw"}]," ",["$","span",null,{"className":"token keyword","children":"new"}]," ",["$","span",null,{"className":"token class-name","children":"ProcessingError"}],["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token string","children":"'Failed to process user data'"}],["$","span",null,{"className":"token punctuation","children":","}]," error",["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n",["$","span",null,{"className":"token punctuation","children":"}"}],"\n"]}]}],"\n",["$","h3",null,{"children":"Maintainability"}],"\n",["$","p",null,{"children":"Quality code is readable, well-documented, and easy to modify. It follows clean code principles:"}],"\n",["$","ul",null,{"children":["\n",["$","li",null,{"children":"Clear naming conventions"}],"\n",["$","li",null,{"children":"Single responsibility principle"}],"\n",["$","li",null,{"children":"DRY (Don't Repeat Yourself)"}],"\n",["$","li",null,{"children":"Comprehensive documentation"}],"\n",["$","li",null,{"children":"Consistent coding standards"}],"\n"]}],"\n",["$","pre",null,{"className":"language-js","children":["$","code",null,{"className":"language-js","children":[["$","span",null,{"className":"token comment","children":"// Example of maintainable code"}],"\n",["$","span",null,{"className":"token keyword","children":"interface"}]," ",["$","span",null,{"className":"token class-name","children":"UserService"}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],"\n ",["$","span",null,{"className":"token function","children":"findById"}],["$","span",null,{"className":"token punctuation","children":"("}],"id",["$","span",null,{"className":"token operator","children":":"}]," string",["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token known-class-name class-name","children":"Promise"}],["$","span",null,{"className":"token operator","children":"<"}],["$","span",null,{"className":"token maybe-class-name","children":"User"}],["$","span",null,{"className":"token operator","children":">"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n ",["$","span",null,{"className":"token function","children":"updateProfile"}],["$","span",null,{"className":"token punctuation","children":"("}],"id",["$","span",null,{"className":"token operator","children":":"}]," string",["$","span",null,{"className":"token punctuation","children":","}]," ",["$","span",null,{"className":"token literal-property property","children":"data"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token maybe-class-name","children":"UserProfile"}],["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token known-class-name class-name","children":"Promise"}],["$","span",null,{"className":"token operator","children":"<"}],["$","span",null,{"className":"token maybe-class-name","children":"User"}],["$","span",null,{"className":"token operator","children":">"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n ",["$","span",null,{"className":"token function","children":"deleteAccount"}],["$","span",null,{"className":"token punctuation","children":"("}],"id",["$","span",null,{"className":"token operator","children":":"}]," string",["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token known-class-name class-name","children":"Promise"}],["$","span",null,{"className":"token operator","children":"<"}],["$","span",null,{"className":"token keyword","children":"void"}],["$","span",null,{"className":"token operator","children":">"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n",["$","span",null,{"className":"token punctuation","children":"}"}],"\n\n",["$","span",null,{"className":"token keyword","children":"class"}]," ",["$","span",null,{"className":"token class-name","children":"UserServiceImpl"}]," ",["$","span",null,{"className":"token keyword","children":"implements"}]," ",["$","span",null,{"className":"token class-name","children":"UserService"}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],"\n ",["$","span",null,{"className":"token function","children":"constructor"}],["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token parameter","children":[["$","span",null,{"className":"token keyword","children":"private"}]," readonly userRepository",["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token maybe-class-name","children":"UserRepository"}]]}],["$","span",null,{"className":"token punctuation","children":")"}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],["$","span",null,{"className":"token punctuation","children":"}"}],"\n \n ",["$","span",null,{"className":"token keyword","children":"async"}]," ",["$","span",null,{"className":"token function","children":"findById"}],["$","span",null,{"className":"token punctuation","children":"("}],"id",["$","span",null,{"className":"token operator","children":":"}]," string",["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token known-class-name class-name","children":"Promise"}],["$","span",null,{"className":"token operator","children":"<"}],["$","span",null,{"className":"token maybe-class-name","children":"User"}],["$","span",null,{"className":"token operator","children":">"}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],"\n ",["$","span",null,{"className":"token keyword control-flow","children":"return"}]," ",["$","span",null,{"className":"token keyword","children":"this"}],["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token property-access","children":"userRepository"}],["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token method function property-access","children":"findById"}],["$","span",null,{"className":"token punctuation","children":"("}],"id",["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n ",["$","span",null,{"className":"token punctuation","children":"}"}],"\n ",["$","span",null,{"className":"token comment","children":"// ... other implementations"}],"\n",["$","span",null,{"className":"token punctuation","children":"}"}],"\n"]}]}],"\n",["$","h3",null,{"children":"Performance"}],"\n",["$","p",null,{"children":"Speed and efficiency matter. High-quality software optimizes:"}],"\n",["$","ul",null,{"children":["\n",["$","li",null,{"children":"Performance optimization should be data-driven. Measure before optimizing."}],"\n"]}],"\n",["$","ul",null,{"children":["\n",["$","li",null,{"children":"Resource utilization"}],"\n",["$","li",null,{"children":"Response times"}],"\n",["$","li",null,{"children":"Memory management"}],"\n",["$","li",null,{"children":"Database queries"}],"\n",["$","li",null,{"children":"Asset loading and caching"}],"\n"]}],"\n",["$","h2",null,{"children":"Development Practices for Quality Software"}],"\n",["$","h3",null,{"children":"Test-Driven Development (TDD)"}],"\n",["$","p",null,{"children":"Starting with tests before writing code ensures:"}],"\n",["$","pre",null,{"className":"language-js","children":["$","code",null,{"className":"language-js","children":[["$","span",null,{"className":"token function","children":"describe"}],["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token string","children":"'UserService'"}],["$","span",null,{"className":"token punctuation","children":","}]," ",["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token punctuation","children":")"}]," ",["$","span",null,{"className":"token arrow operator","children":"=>"}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],"\n ",["$","span",null,{"className":"token function","children":"it"}],["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token string","children":"'should create new user with valid data'"}],["$","span",null,{"className":"token punctuation","children":","}]," ",["$","span",null,{"className":"token keyword","children":"async"}]," ",["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token punctuation","children":")"}]," ",["$","span",null,{"className":"token arrow operator","children":"=>"}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],"\n ",["$","span",null,{"className":"token keyword","children":"const"}]," userData ",["$","span",null,{"className":"token operator","children":"="}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],"\n ",["$","span",null,{"className":"token literal-property property","children":"name"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token string","children":"'John Doe'"}],["$","span",null,{"className":"token punctuation","children":","}],"\n ",["$","span",null,{"className":"token literal-property property","children":"email"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token string","children":"'john@example.com'"}],"\n ",["$","span",null,{"className":"token punctuation","children":"}"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n \n ",["$","span",null,{"className":"token keyword","children":"const"}]," user ",["$","span",null,{"className":"token operator","children":"="}]," ",["$","span",null,{"className":"token keyword control-flow","children":"await"}]," userService",["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token method function property-access","children":"create"}],["$","span",null,{"className":"token punctuation","children":"("}],"userData",["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n \n ",["$","span",null,{"className":"token function","children":"expect"}],["$","span",null,{"className":"token punctuation","children":"("}],"user",["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token method function property-access","children":"toHaveProperty"}],["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token string","children":"'id'"}],["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n ",["$","span",null,{"className":"token function","children":"expect"}],["$","span",null,{"className":"token punctuation","children":"("}],"user",["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token property-access","children":"name"}],["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token method function property-access","children":"toBe"}],["$","span",null,{"className":"token punctuation","children":"("}],"userData",["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token property-access","children":"name"}],["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n ",["$","span",null,{"className":"token punctuation","children":"}"}],["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n",["$","span",null,{"className":"token punctuation","children":"}"}],["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n"]}]}],"\n",["$","h3",null,{"children":"Continuous Integration/Continuous Deployment (CI/CD)"}],"\n",["$","p",null,{"children":"Automated pipelines ensure quality by:"}],"\n",["$","ul",null,{"children":["\n",["$","li",null,{"children":"Running automated tests"}],"\n",["$","li",null,{"children":"Performing security scans"}],"\n",["$","li",null,{"children":"Checking code quality"}],"\n",["$","li",null,{"children":"Enabling rapid deployment"}],"\n",["$","li",null,{"children":"Maintaining consistency"}],"\n"]}],"\n",["$","h2",null,{"children":"Architecture and Design"}],"\n",["$","h3",null,{"children":"Scalable Architecture"}],"\n",["$","pre",null,{"className":"language-js","children":["$","code",null,{"className":"language-js","children":["# ",["$","span",null,{"className":"token maybe-class-name","children":"Example"}]," ",["$","span",null,{"className":"token maybe-class-name","children":"Docker"}]," ",["$","span",null,{"className":"token maybe-class-name","children":"Compose"}]," ",["$","span",null,{"className":"token keyword control-flow","children":"for"}]," scalable architecture\n",["$","span",null,{"className":"token literal-property property","children":"version"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token string","children":"'3.8'"}],"\n",["$","span",null,{"className":"token literal-property property","children":"services"}],["$","span",null,{"className":"token operator","children":":"}],"\n ",["$","span",null,{"className":"token literal-property property","children":"api"}],["$","span",null,{"className":"token operator","children":":"}],"\n ",["$","span",null,{"className":"token literal-property property","children":"build"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token punctuation","children":"."}],["$","span",null,{"className":"token operator","children":"/"}],"api\n ",["$","span",null,{"className":"token literal-property property","children":"deploy"}],["$","span",null,{"className":"token operator","children":":"}],"\n ",["$","span",null,{"className":"token literal-property property","children":"replicas"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token number","children":"3"}],"\n ",["$","span",null,{"className":"token literal-property property","children":"depends_on"}],["$","span",null,{"className":"token operator","children":":"}],"\n ",["$","span",null,{"className":"token operator","children":"-"}]," db\n ",["$","span",null,{"className":"token operator","children":"-"}]," cache\n \n ",["$","span",null,{"className":"token literal-property property","children":"db"}],["$","span",null,{"className":"token operator","children":":"}],"\n ",["$","span",null,{"className":"token literal-property property","children":"image"}],["$","span",null,{"className":"token operator","children":":"}]," postgres",["$","span",null,{"className":"token operator","children":":"}],"latest\n ",["$","span",null,{"className":"token literal-property property","children":"volumes"}],["$","span",null,{"className":"token operator","children":":"}],"\n ",["$","span",null,{"className":"token operator","children":"-"}]," db",["$","span",null,{"className":"token operator","children":"-"}],"data",["$","span",null,{"className":"token operator","children":":"}],["$","span",null,{"className":"token operator","children":"/"}],["$","span",null,{"className":"token keyword","children":"var"}],["$","span",null,{"className":"token operator","children":"/"}],"lib",["$","span",null,{"className":"token operator","children":"/"}],"postgresql",["$","span",null,{"className":"token operator","children":"/"}],"data\n \n ",["$","span",null,{"className":"token literal-property property","children":"cache"}],["$","span",null,{"className":"token operator","children":":"}],"\n ",["$","span",null,{"className":"token literal-property property","children":"image"}],["$","span",null,{"className":"token operator","children":":"}]," redis",["$","span",null,{"className":"token operator","children":":"}],"latest\n ",["$","span",null,{"className":"token literal-property property","children":"volumes"}],["$","span",null,{"className":"token operator","children":":"}],"\n ",["$","span",null,{"className":"token operator","children":"-"}]," cache",["$","span",null,{"className":"token operator","children":"-"}],"data",["$","span",null,{"className":"token operator","children":":"}],["$","span",null,{"className":"token operator","children":"/"}],"data\n"]}]}],"\n",["$","h3",null,{"children":"User-Centric Design"}],"\n",["$","p",null,{"children":"High-quality software prioritizes user experience through:"}],"\n",["$","p",null,{"children":"Always design with your end users in mind. Their success is your success."}],"\n",["$","ul",null,{"children":["\n",["$","li",null,{"children":"Intuitive interfaces"}],"\n",["$","li",null,{"children":"Accessible design"}],"\n",["$","li",null,{"children":"Responsive layouts"}],"\n",["$","li",null,{"children":"Clear error messages"}],"\n",["$","li",null,{"children":"Performance optimization"}],"\n"]}],"\n",["$","h2",null,{"children":"Monitoring and Maintenance"}],"\n",["$","h3",null,{"children":"Proactive Monitoring"}],"\n",["$","pre",null,{"className":"language-js","children":["$","code",null,{"className":"language-js","children":[["$","span",null,{"className":"token comment","children":"// Example monitoring setup"}],"\n",["$","span",null,{"className":"token keyword","children":"const"}]," metrics ",["$","span",null,{"className":"token operator","children":"="}]," ",["$","span",null,{"className":"token punctuation","children":"{"}],"\n ",["$","span",null,{"className":"token literal-property property","children":"requestDuration"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token keyword","children":"new"}]," ",["$","span",null,{"className":"token class-name","children":"Histogram"}],["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token punctuation","children":"{"}],"\n ",["$","span",null,{"className":"token literal-property property","children":"name"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token string","children":"'http_request_duration_seconds'"}],["$","span",null,{"className":"token punctuation","children":","}],"\n ",["$","span",null,{"className":"token literal-property property","children":"help"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token string","children":"'Duration of HTTP requests in seconds'"}],["$","span",null,{"className":"token punctuation","children":","}],"\n ",["$","span",null,{"className":"token literal-property property","children":"labelNames"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token punctuation","children":"["}],["$","span",null,{"className":"token string","children":"'method'"}],["$","span",null,{"className":"token punctuation","children":","}]," ",["$","span",null,{"className":"token string","children":"'route'"}],["$","span",null,{"className":"token punctuation","children":","}]," ",["$","span",null,{"className":"token string","children":"'status_code'"}],["$","span",null,{"className":"token punctuation","children":"]"}],"\n ",["$","span",null,{"className":"token punctuation","children":"}"}],["$","span",null,{"className":"token punctuation","children":")"}],["$","span",null,{"className":"token punctuation","children":","}],"\n \n ",["$","span",null,{"className":"token literal-property property","children":"activeUsers"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token keyword","children":"new"}]," ",["$","span",null,{"className":"token class-name","children":"Gauge"}],["$","span",null,{"className":"token punctuation","children":"("}],["$","span",null,{"className":"token punctuation","children":"{"}],"\n ",["$","span",null,{"className":"token literal-property property","children":"name"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token string","children":"'active_users'"}],["$","span",null,{"className":"token punctuation","children":","}],"\n ",["$","span",null,{"className":"token literal-property property","children":"help"}],["$","span",null,{"className":"token operator","children":":"}]," ",["$","span",null,{"className":"token string","children":"'Number of currently active users'"}],"\n ",["$","span",null,{"className":"token punctuation","children":"}"}],["$","span",null,{"className":"token punctuation","children":")"}],"\n",["$","span",null,{"className":"token punctuation","children":"}"}],["$","span",null,{"className":"token punctuation","children":";"}],"\n"]}]}],"\n",["$","h2",null,{"children":"Best Practices for Development Teams"}],"\n",["$","h3",null,{"children":"Documentation"}],"\n",["$","p",null,{"children":"Quality documentation includes:"}],"\n",["$","pre",null,{"className":"language-markdown","children":["$","code",null,{"className":"language-markdown","children":[["$","span",null,{"className":"token title important","children":[["$","span",null,{"className":"token punctuation","children":"#"}]," API Documentation Example"]}],"\n\n",["$","span",null,{"className":"token title important","children":[["$","span",null,{"className":"token punctuation","children":"##"}]," User Endpoints"]}],"\n\n",["$","span",null,{"className":"token title important","children":[["$","span",null,{"className":"token punctuation","children":"###"}]," GET /api/users/{id}"]}],"\n\nRetrieves user information by ID.\n\n",["$","span",null,{"className":"token bold","children":[["$","span",null,{"className":"token punctuation","children":"**"}],["$","span",null,{"className":"token content","children":"Parameters:"}],["$","span",null,{"className":"token punctuation","children":"**"}]]}],"\n",["$","span",null,{"className":"token list punctuation","children":"-"}]," ",["$","span",null,{"className":"token code-snippet code keyword","children":"`id`"}]," (string, required): The unique identifier of the user\n\n",["$","span",null,{"className":"token bold","children":[["$","span",null,{"className":"token punctuation","children":"**"}],["$","span",null,{"className":"token content","children":"Response:"}],["$","span",null,{"className":"token punctuation","children":"**"}]]}],"\n"]}]}]]}]],null],null]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","articles","children","the-art-and-science-of-building-high-quality-software","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","articles","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},[["$","html",null,{"lang":"en","className":"h-full antialiased","suppressHydrationWarning":true,"children":["$","body",null,{"className":"flex h-full bg-zinc-50 dark:bg-black","children":["$","$L5",null,{"children":["$","div",null,{"className":"flex w-full","children":[["$","div",null,{"className":"fixed inset-0 flex justify-center sm:px-8","children":["$","div",null,{"className":"flex w-full max-w-7xl lg:px-8","children":["$","div",null,{"className":"w-full bg-white ring-1 ring-zinc-100 dark:bg-zinc-900 dark:ring-zinc-300/20"}]}]}],["$","div",null,{"className":"relative flex w-full flex-col","children":[["$","$L6",null,{}],["$","main",null,{"className":"flex-auto","children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","div",null,{"className":"sm:px-8 flex h-full items-center pt-16 sm:pt-32","children":["$","div",null,{"className":"mx-auto w-full max-w-7xl lg:px-8","children":["$","div",null,{"className":"relative px-4 sm:px-8 lg:px-12","children":["$","div",null,{"className":"mx-auto max-w-2xl lg:max-w-5xl","children":["$","div",null,{"className":"flex flex-col items-center","children":[["$","p",null,{"className":"text-base font-semibold text-zinc-400 dark:text-zinc-500","children":"404"}],["$","h1",null,{"className":"mt-4 text-4xl font-bold tracking-tight text-zinc-800 sm:text-5xl dark:text-zinc-100","children":"Page not found"}],["$","p",null,{"className":"mt-4 text-base text-zinc-600 dark:text-zinc-400","children":"Sorry, we couldn’t find the page you’re looking for."}],["$","$L7",null,{"className":"inline-flex items-center gap-2 justify-center rounded-md py-2 px-3 text-sm outline-offset-2 transition active:transition-none bg-zinc-50 font-medium text-zinc-900 hover:bg-zinc-100 active:bg-zinc-100 active:text-zinc-900/60 dark:bg-zinc-800/50 dark:text-zinc-300 dark:hover:bg-zinc-800 dark:hover:text-zinc-50 dark:active:bg-zinc-800/50 dark:active:text-zinc-50/70 mt-4","href":"/","children":"Go back home"}]]}]}]}]}]}],"notFoundStyles":[],"styles":null}]}],["$","footer",null,{"className":"mt-32 flex-none","children":["$","div",null,{"className":"sm:px-8","children":["$","div",null,{"className":"mx-auto w-full max-w-7xl lg:px-8","children":["$","div",null,{"className":"border-t border-zinc-100 pt-10 pb-16 dark:border-zinc-700/40","children":["$","div",null,{"className":"relative px-4 sm:px-8 lg:px-12","children":["$","div",null,{"className":"mx-auto max-w-2xl lg:max-w-5xl","children":["$","div",null,{"className":"flex flex-col items-center justify-between gap-6 sm:flex-row","children":[["$","div",null,{"className":"flex flex-wrap justify-center gap-x-6 gap-y-1 text-sm font-medium text-zinc-800 dark:text-zinc-200","children":[["$","$L7",null,{"href":"/about","className":"transition hover:text-sky-500 dark:hover:text-sky-400","children":"About"}],["$","$L7",null,{"href":"/projects","className":"transition hover:text-sky-500 dark:hover:text-sky-400","children":"Projects"}]]}],["$","p",null,{"className":"text-sm text-zinc-400 dark:text-zinc-500","children":["© ",2025," kortby . All rights reserved."]}]]}]}]}]}]}]}]}]]}]]}]}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/240e7997b0d69ec9.css","precedence":"next","crossOrigin":"$undefined"}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"The Art and Science of Building High-Quality Software - kortby "}],["$","meta","3",{"name":"description","content":"Software quality is not just about writing code that works—it is about creating solutions that stand the test of time, scale effectively, and provide real value to users. Lets explore the key principles and practices that define high-quality software."}],["$","link","4",{"rel":"alternate","type":"application/rss+xml","href":"https://kortby.com/feed.xml"}]] 1:null