Roshan Gurung
CtrlK
  • Hello world
  • Programming
    • Clean Coding Principles
    • .NET
      • Get the keys with model state errors in MVC
      • Null Propagation Operator in C#
      • Add objects to a list without using loop
      • Convert an image (selected by path) to base64 string
      • Escape character for & in webconfig settings
    • Database
      • Update with join in mysql
Powered by GitBook
On this page

Was this helpful?

  1. Programming

Clean Coding Principles

Prefer positive conditionals

Be strongly typed

Avoid magic numbers

Avoid deep indentation : return early, fail fast, fail loud

Avoid high number of parameter

https://app.pluralsight.com/library/courses/csharp-clean-coding-principles/table-of-contents

PreviousHello worldNext.NET

Last updated 4 years ago

Was this helpful?