Do you maintain separation of concerns?
  v1.0 Posted at 24/04/2018 7:39 AM by Tiago Araujo

One of the major issues people had back in the day with ASP (before ASP.NET) was the prevalence of "Spaghetti Code". This mixed Reponse.Write() with actual code​.

​Ideally, you should keep design and code separate - otherwise, it will be difficult to maintain your application. Try to move all data access and business logic code into separate modules.

Bob Martin explains this best:



Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address: