- We can place our code in individual source files in folder structures and wrap classes, interfaces, structs, and enums in namespaces that map to the folder structure.
- A class should have only one responsibility.
- You can comment in your code for document generators using XML comments placed directly above the public member to be documented.
- Cohesion is the logical grouping together of code that works on the same responsibility.
- Coupling refers to the dependencies between classes.
- Cohesion should be high.
- Coupling should be low.
- You can use DI and IoC to design for change.
- DI stands for Dependency Injection.
- IoC stands for Inversion of Control.
- Immutable objects are type-safe and so can be safely passed between threads.
- Objects should expose methods and properties and hide data.
- Data structures should expose data and have no methods. ...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand