Search code examples
code-organization

organizing large pieces of code


I was wondering what methods of code organization stackoverflow users use. I have a sporadic thought process and as a result my code can start to look messy and over whelming. Any tips ?


Solution

  • Keep methods short and give classes a single, clear responsibility.

    It's not necessary, but TDD can help you acheive this