Lessons Learned From Sandi Metz's Practical Object-Oriented Design In Ruby (The First Half)
At work, our reading group has been reading Practical Object-Oriented Design In Ruby by Sandi Metz. At the point of writing this blog post, we are about halfway through the book. Sandi’s book has a number of valuable insights and provides interesting perspectives on OO design. I’d like to share some of what I’ve learned in the course of reading the book.
Breaking Down Syntactic Sugar With The Saliva Of Curiosity - The foreach Statement In C#
A feature of C# that I frequently use to process collections is the foreach statement. foreach is just syntactic sugar for making it easier to iterate over collections. I’d like to delve a bit into what’s going on under the hood.