Applying the DRY, KISS, and YAGNI principles in C#
If you don’t repeat yourself, keep it simple, and implement only the functionality you really truly need, your C# code will be cleaner, simpler, and much easier to maintain.
Source: infoworld.com
Stay updated with breaking news from Console Readkey. Get real-time updates on events, politics, business, and more. Visit us for reliable news and exclusive interviews.
If you don’t repeat yourself, keep it simple, and implement only the functionality you really truly need, your C# code will be cleaner, simpler, and much easier to maintain.
You may be trying to write a script that requires user input to complete, or sometimes the script requires a delay to let another process finish executing