Beware of These Iterator and Collection Traps
Explore common C# pitfalls when choosing between iterators and materialized collections, covering memory use, re-enumeration risks, and safer API design.
Explore common C# pitfalls when choosing between iterators and materialized collections, covering memory use, re-enumeration risks, and safer API design.
Unit tests or functional tests? What's the difference and which ones should you be using? Find out in this super quick compare-and-contrast!
Continue exploring whether every class needs an interface, focusing on wrapping third party code, encapsulation benefits, and tradeoffs for cleaner code.
Weigh top down versus bottom up API design through a real project connecting a Unity front end to a back end over AMQP, exploring the balance between them.
Consider a C# pattern that hides constructors behind static factory methods returning interfaces, plus tradeoffs discovered while applying it in practice.
Continuous improvement involves making small changes over time to adapt your process. See how I've been adapting my one on ones with my team for the better.
Explore how the yield keyword can reshape API design for returning collections in C#, comparing IEnumerable approaches from both caller and implementer angles.
Everyone always says singletons are bad, but I don't think they are inherently evil. What are some of the major issues with singletons?
Several examples in C# for how you can structure code to meet the singleton design pattern. Check it out before using singletons next!