0
Which design patterns is easier to use for beginners in C#?
The design patterns allow you to do a best code, but increases the complexity. So, for those who are beginning in C#, which design patterns is easier to learn?
1 Antwort
+ 3
I'm not sure what is meant by "design patterns" but I guess you are referring to how the programmer writes his code.
A beginner will always start with a basic program.
Everything is in one method and the code follows up on one another.
A skill that is vital is to split repeating code into functions, methods, procedures or even loops. It makes everything neater and more readable.
It is important to clean up unnecessary code that might confuse you or another programmer.
What I like to do is name my variables starting with a lowercase letter and functions, methods and classes starting with a capital letter. Constants are all caps.
This makes things better to understand, and with what we are working with.
The naming of functions and variables should describe it's functionality in one word (or two, but split with an underscore ___ )
I'm not sure what is meant with the question, but I hope this helps somewhat