Pro EP 6 : Keep it Simple , Stupid (KISS) Principle

Muhammad Waseem
Become .NET Pro !
1 min readFeb 20, 2023

KISS has many different full forms over the internet although, I found this insightful. But don’t worry it’s not important because at the end they all point to one thing and that is keep things simple.

As a developer while looking at PR’s with your lead you would have often heard that why are you writing theses lines , these are un necessary remove it. So indirectly they are pointing out towards KISS descriptive.

In few points KISS says

1. Don’t make things complex purposefully , if you can handle a situation in 10 lines of code don’t go for 15 lines approach.

2. Follow Uncle Bob SRP (Single Responsibility Principle) by restricting your classes to Single Responsibility.

3. Keep methods simple don’t go over 20 lines of code per method.

If you want to help the author in growing

  1. Subscribe my Weekly .NET Newsletter of C#/.NET
  2. Follow me on LinkedIn/Twitter OR Clap at least 50 times.
  3. Get exclusive .NET Questions & Answers by becoming a Patron , I add almost 25+ new questions with explanation per month.
  4. Download my eBook at Gum road that contains 30 .NET Tips.

--

--