Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to keep my code simple?
    primarykey
    data
    text
    <p>--EDIT--</p> <p>I believe this is a valid question that may have multiple answers (as defined <a href="https://stackoverflow.com/questions/157125/do-we-really-need-the-subjective-tag-and-is-it-commonly-mis-used/157227#157227">here</a>). This is NOT a discussion nor a poll. Furthermore, this question is evidently NOT argumentative as none of the respondents so far seem to argue with each other.</p> <p>--ORIGINAL TEXT--</p> <p>Amazing! I do software for about 15 years now and I still have <em>no idea</em> what I'm doing :)</p> <p>Seriously, I still struggle with the basics:</p> <ul> <li>overengineering vs. YAGNI</li> <li>cutting corners in order to meet the deadline vs. pushing back on the business</li> <li>risky innovations vs. tedious good old stuff</li> <li>enjoying the freedom of working alone vs. the power of the team</li> </ul> <p>But the worst of all is code complexity. My code tends to get <em>evil</em>. It even bites <em>myself</em> after a few weeks. I put tremendous effort in keeping it simple, readable, maintainable, elegant, beautiful, cohesive, loosely coupled, based on nice straightforward abstractions. But all this effort goes down the drain!</p> <p>Don't get me wrong, my code is pretty good by most people's standards. I mean it's flexible, more or less unit-testable, and does what it needs to do. However, it is far from simple.</p> <p>Every change requires substantial refactoring. If another person opened my code with the intent of adding a feature he would HAVE to do something stupid. There's no way he'd be able to do it RIGHT, even if he was a GENIUS, even if he was my own CLONE unfamiliar with the codebase. Why, why for God's sake does this happen? Isn't there some methodology, some technology, some meditation technique, anything at all?!</p> <p>How to keep my code simple?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload