Damn it! Can’t you make your code less complex?

<Rant>

I am so tired of complex code that can’t be read without having to trace definitions within definitions withshutterstock_132360455in references, within Interface definitions within indirection….  until I have no flippin’ idea what is going on.

This is even worse when perpetrated in sample code.  Can someone please tell sample code writers that the rule is “make it as simple as possible and demonstrate only one thing; and that one thing is not how clever you are.”

Continued

 

 

About Jesse Liberty

Jesse Liberty has three decades of experience writing and delivering software projects and is the author of 2 dozen books and a couple dozen online courses. His latest book, Building APIs with .NET will be released early in 2025. Liberty is a Senior SW Engineer for CNH and he was a Senior Technical Evangelist for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS. He is a Microsoft MVP.
This entry was posted in Essentials. Bookmark the permalink.

2 Responses to Damn it! Can’t you make your code less complex?

  1. You should know the layers of foundations depend upon the ground’s condition along with the form of
    soils. Their extreme popularity and ease of use saw their
    demand extend beyond the US and all over the
    globe. It takes time for a flat roof to drain over rain water thus flat roofs must be made from a roofing material that’s water-resistant.

    My weblog Scott Yancey Review

  2. sabelo says:

    Hi Jesse
    I would like to know the use of the “using namespace ” in C++ coding , does the source file compile correctly without any problem when you didnt include that line of code?

Comments are closed.