steinam / refactoring_code

School project for showing use of Unit Test, some metrics and refactoring of methods. Based on Fowler example
MIT License
0 stars 0 forks source link

Unnecessary Hungarian Notation #2

Open antonpytlik123 opened 3 years ago

antonpytlik123 commented 3 years ago

I would recommend removing the Hungarian notations in the Movie class. Because this does not conform to the C# convention see https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/coding-conventions. I recommend the book Clean Code by Robert C. Martin.

steinam commented 3 years ago

Hallo Felix1234-wq,

do you mean the "m" before the attribute name, e.g. private string m_Title ?

antonpytlik123 commented 3 years ago

Hallo Felix1234-wq,

do you mean the "m" before the attribute name, e.g. private string m_Title ?

Thanks for your reply. Yes i mean the unnecessary m before the declaration of a variable