Best practices for coding in .NET

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

--- Summarized points ----

1- Readable
2- Performance (dev vs prod)
3- Reusable code
4- Naming convention - variables, classes, properties, functions
Eg, GetEmployee >> GetEmployeeList both conveying same meaning but first is small
5- DRY principle - Don't repeat yourself -- create helper classes/ function and reuse
6- Class names, Method names: PascalCase
7- Variables: camelCase
8- Keep methods small and simple. Don't make it too large. Keep it short and simple. If it's too short, split its functionality and call the function in actual function..
9- Create self explanatory method names so that you don't need to write comments

Mahnoor
Автор

Seriously very nice explanations. And I became your fan. day by day with your videos. Thanks a lot. :)

anandhakumarjayarajan
Автор

Finally, your background is ready and looks good. :)

anandhakumarjayarajan
Автор

Another best Practice is to like this Video and follow this guy!

hbxuthh
Автор

Thanks and love from Pakistan... Your videos are very valuable

zdwzhyu
Автор

Excellent, Looking more videos for code clenup tips

MrSantosh
Автор

Good explanation and easily uderstand sir

srilathadharmavaram
Автор

Add comment is also a best practice in my opinion. As It can give a short brief of wat exactly we are doing in there.

venkatsubramaniyam
Автор

From side we should give comments because we should mention who has written code, date, modified by user etc.

mahadevck
Автор

SIr Please explain about Design Patterns also. Its very confusing theory wise

riddhithaker
Автор

your thought is verry use full for me Thank you

DineshSaravanan-mwnq
Автор

Comment in xml style is for intel sense to generate descriptions when cursor hover over it.

Also sometimes things seems to be simple but could have ambiguous meanings.

What calculate salary means? Before tax/ after tax, any government deductions in effect?

edwinskwok
Автор

Hi Happy,
Please make video on JET token in Dotnet core.

sajidshaikh
Автор

Hi sir, please explain about how to make logic strong in programming, what are the steps should we follow, which topic should focus more in c# to become sharp in logical thinking and in programming, please make videos on this. What are the topics should we cover in data structure also

bhcet
Автор

What about the comments inside function to denote some logics/description?

ijesuraja
Автор

Hi Happy Brother, am watching you a face interaction first time better but, am notice one thing why are you use always kubera mudra on hand gesture brother.... something something... But, Thank you Universe to delivery the Message.!🤗

BRAINAI-iyvc
Автор

Sir please share me how to make logic and inderstad

Sportscricstars