Browse by Tags

All Tags » readability (RSS)

Quick Glances at Dependency Injection Frameworks Documentations

I've just take a look at a couple of Dependency Injection frameworks that are available for .Net today, namely Unity from Enterprise Library and Ninject . To try school myself further on these frameworks, I decided to look at the respective documentations...
Posted by Jimmy Chandra | with no comments
Filed under: , ,

Beginning with Singleton .Instance Peekaboo, and Ending Up with Why Singleton At All?

I know the title of this post is weird, but just bear with me a moment... Often time I found myself writing code like UserServices.Instance.DoSomething(...) when using Singleton pattern. And afterward, I keep saying to myself, that's just ugly. How...
Posted by Jimmy Chandra | 1 comment(s)
Filed under: ,

Code Readability / Maintainability

Which is better? To show people that you can pack codes into a really really small space (i.e. a line) or spread them out and actually make it readable by others? I prefer the second approach since I know sooner or later when I'll be looking back...
Posted by Jimmy Chandra | 7 comment(s)
Filed under: ,