Yet Another Rocket Scientist NOT!
Subscribe in a reader
Subscribe to Peter's Software House by Email
I’m sorry but I couldn’t resist. Why the hell would you write your code like this?
Isn’t this a lot more readable?
I don’t like the naming conventions, but at least its consistent.
Yeah, but I do prefer not having the curlies for single line statements. Just think it looks less busy.
How do you create these nice torn paper screenshots?
I'll keep the if curlies, but will drop the foreach curlies. Makes it cleaner and more readable.
My opinion is either do a full one-liner or format all with curlies. Both are just as easy to read on large screens.
What about Array.ForEach()?
@Pete
I use SnagIt from TechSmith