3. Expressing Designs in C#
Beginners using a foreign (human) language can manage to communicate. They know the words, and they can piece them together to get their point across. As beginners transition to experts in a language, they begin to use the proper idioms in this foreign language. The language becomes less foreign, and the person begins speaking more efficiently and more clearly. Programming languages are no different. The techniques you choose communicate your design intent to the developers who maintain, extend, or use the software you develop. C# types all live inside the .NET environment. The environment makes some assumptions about the capabilities of all types as well. If you violate those assumptions, you increase the likelihood ...
Get Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.