Adam Cogan sits down with Marcel de Vries and Terje Sandstrom to breakdown the Software Development process. They discuss:

  • Evaluating the process
  • Getting the latest and compiling
  • Making instructions at the beginning of a project
  • Using the best code analysis tool
  • Looking at the architecture
  • Reviewing the documentation
  • Using the best code metrics tools
  • The common design patterns
Show Notes

  • This follows Rule: Do You Make Instructions at the Beginning of a Project and Improve them Gradually?
  • NDepend – ndepend.com
  • Metrics Numbers – https://geekswithblogs.net/terje/archive/2008/11/25/code-metrics—suggestions-for-appropriate-limits.aspx
  • This follows Rule: Do You Look at the Architecture?
  • This follows Rule: Do You Review the Documentation?
  • [12:22] The reason for this is that many teams mis-use the concept of agility by stopping proper engineering practices. When you create a solution for a customer, you still need to think about the way you implement it! You can sketch out alternatives using diagrams & Powerpoints etc. to decide on the pros and cons. It’s just good engineering practice. You must decide up front what the purpose of the documentation is. Is it just for you to engineer the right solution, or is it for an actual documentation purpose that perhaps needs to be maintained over time so that it can be handed over to e.g. The party that is going to maintain the code later.
  • Enterprise Architect from Australia is a great 3rd party tool for Architects: SparxSystems.com.au
  • [22:12] Marcel used the case diagram he showed and used that for the code generation. The sequence diagram he showed was a throw away and was only used to engineer the solution. In this particular project they made a decision about which diagrams they would keep and maintain.
  • This follows Rule: Do You Use the Best Tool to Run Code Metrics and Find Dodgy Code?
  • A code review should not be one person’s opinion but something you agree on before you start
  • This follows Rule: Do You Go Beyond a ‘Done’ and Follow a ‘Definition of Done’
  • Code should be read like poetry
  • You should add comments about decision you made in the code. Eg. Leaving out a lock statement, since that might trigger a developer later to add it just because he needs to rethink what you already decided. So every time you deviate from a common pattern document in the code, the reader will be able to know what you were thinking of.
  • This follows Rule: Do You Know the Common Design Patterns?
  • Look out for overuse of containers, dependency injection and reflection
  • As a general rule, only add complexity when you need flexibility
  • Don’t skim. Instead use the tools to drill into the bad code to look for more bad code. Remember bad code seems to attract more bad code
  • Bad code attracts warnings
  • Look for lots of setters since they indicate you are handing out your internals and you don’t know the constraints.
About the speakers

About the speakers

2 Sagacious Architects

Terje works as Chief Software Architect at InmetaCrayon in Norway, in the Consulting division. Most of his work is on advising developers, architects, project managers and testers, in larger companies. He is interested in all aspects of software development, even though coding principles are a favorite.

Terje have worked with professional and industrial design and development for far more years, than he want to remember, moving gradually from electronic design over to software design. He holds a M.Sc in Physics from the University in Oslo, graduating with a mixture of physics and informatics/software.

Terje has programmed in a lot of different languages, but is very fond of the object oriented ones, from his early exposure to Simula at the university. He is very interested in the theoretical aspects of programming languages, design patterns and everything that have a higher level of complexity. His interests goes into areas like databases, OLAP, UML, functional programming, graphics, 3D and more. He has still to learn there is probably a limit somewhere for how much it is possibly to do.

Terje has worked with Microsoft technology since the late 80's, and is familiar with a lot of the products made by Microsoft. He has been a Microsoft Visual Studio ALM MVP since 2008, and worked with the TFS family since the product appeared. Terje is running courses, seminars, workshops and speaks, not only at public events, but
a lot at internal company events for larger Norwegian companies. He is blogging actively at https://geekswithblogs.net/terje.

Marcel spends most of his time helping customers build enterprise systems based on Microsoft Technology. He has been working with Microsoft technology since he graduated in Computer Science in 1996. He started mainly with C/C++ and MFC.When Microsoft launched its new .NET platform in he immediately used it to write the first commercial application to go life in the Netherlands based on ASP.NET. Marcel writes articles and whitepapers on .NET, Application Lifecycle Management and Mobile solutions for MSDN, The Architecture journal and local magazines like Microsoft .NET magazine. Marcel is a frequent speaker at conferences like Microsoft TechDays, Visual Studio Live!, Microsoft Tech Ed and local user group events. Marcel is Technology Manager at Info Support and in his role he works as consultant in the Architect role for a variety of Financial and Insurance companies. He also teaches courses on topics like Visual Studio ALM, .NET , Mobile and Web development at the Info Support Knowledge Center.

He is writing actively at his blog.

Related videos

Related videos

Exploring Azure AI Speech Studio | Ulysses Maclaren & Michelle Sandford

Join Ulysses Maclaren from SSW TV in an insightful interview with Michelle Standford, Developer Engagement Lead at Microsoft Asia Pacific. Michelle shares her experience with the Azure AI Speech Studio, discussing its capabilities, customization options, and real-world applications. From creating custom speech models to emotional nuances and personalization, dive into the intriguing possibilities offered by this innovative tool.

Exploring Radius: A Cloud-Native Platform | William Liebenberg & Will Velida

Join SSW’s William Liebenberg as he interviews Will Velida, Lead Engineer at Mantel Group, at NDC Sydney. Together, they discuss Radius, a cutting-edge cloud-native platform designed to bridge the gap between developers and operators. Learn more about the essence of Radius, its capabilities, and how it simplifies the complex task of building and operating cloud-native applications.

Github Projects and Copilot. What’s new? | Matt Wicks & Michelle “Mishmanners” Duke | NDC Sydney 2024

Join SSW’s Matt Wicks as he chats with Michelle “Mishmanners” Duke, Developer Advocate at Github, about the latest updates on GitHub projects, including GitHub Copilot. Learn about new functionalities, project management tips and how Copilot enhances coding workflows.

Tech News #36 | Bard rebrands to Gemini, Gemini 1.5 latest updates and Sora – OpenAI’s text to video

Dive into the latest Tech News! Explore Gemini’s latest updates, OpenAI’s text to video – Sora, Neuralink’s first chip in the human brain, ChatGPT’s memory, Ollama for Windows & a Deepfake scam that executed a $25million heist.
Join host Adam Cogan as he discusses these developments and provides insights. Stay up-to-date with the fast-paced world of technology!

SSW’s Cultural Exchange from China to Australia | Sylvia Huang

Sylvia Huang from SSW shares her SSW Cultural Exchange experience from Hangzhou, China to Australia

Tech News #35 | OpenAI launches GPT store, Midjourney V6 and Tesla release their humanoid robot

Dive into the latest Tech News! Explore the AI Pin, Google’s Gemini vs GPT-4, Apple’s Big AI Move with MLX, Tesla Cybertruck Finally Hits the Road, OpenAI’s Dramatic Turn, AI-Generated Git Commit Messages & more

Join host Adam Cogan as he discusses these developments and provides insights. Stay up-to-date with the fast-paced world of technology!

Matt Goldman’s .NET MAUI book launch | What fills the Whitespace

Join Matt Goldman, web and mobile developer, as he unveils his journey in writing ‘.NET MAUI in Action’. Dive into the untold stories behind the words, the support system that made it possible, and his vision for the future. Witness how passion turns into reality in the world of tech authorship.

AI Security Fundamentals | Ulysses Maclaren & Sarah Young | NDC Sydney 2024

Join us for an insightful discussion on AI and security fundamentals. Ulysses Maclaren from SSW TV and Sarah Young, Senior Cloud Security Advocate at Microsoft delve into the importance of maintaining traditional security measures alongside advancements in AI, covering topics such as model poisoning, data privacy concerns, and the role of AI in organizational security. Gain valuable insights for navigating the complex landscape of AI-enabled applications and safeguarding data integrity. Don’t miss this engaging conversation packed with expert advice and practical tips!

Clean Architecture Dev Superpowers Tour | Daniel Mackay

Gain essential skills in enterprise application development using Clean Architecture and .NET and learn foundational skills to build robust, maintainable applications—ideal for developers familiar with C#. Available both in-person and online.

The Harmonious Dance of EF Core and SQL Server | Jernej Kavka | User Group

.NET 8 has improved the data story with new features, waiting to be discovered. Let’s embark on a journey from understanding basic scaffolding to the intricacies of schema evolution and SQL debugging. It’s time to be inspired by the art of database craftsmanship.