Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 578 Bytes

4.2 Refactoring with Separation of Concerns.md

File metadata and controls

16 lines (10 loc) · 578 Bytes

Refactoring Code with Separation of Concerns

Restructure your code and learn the best ways to improve its structure.

Ways to improve Spagetti Code

  1. The Refactor in Place Method (= to improve existing code that looks salvageable).

  2. The BurnIt Method (=start from scratch with new code).

Code Improvement

  • Create a TODO list
  • Plan your method

NOTE: Although, web developers often use organizational frameworks for seperation of concerns.

  • They are truly NOT needed. It can be done with plain Vanilla JavaScript or jQuery.