- 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
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine