July 2007 Blog Posts
I remember that not so long ago everyone was saying that a line of code should not be longer then 80 characters. The problem with this approach is that it leads you to cryptic method/class/variable names because of the 80 characters hard limit. I could justify that rule back in the epoch of 15 inch CRT monitors because there are not too many things more annoying then constant scrolling from right to left and left to right to be able to read a piece of code. But even nowadays there are people who would stick with that rule which doesn't make sense for...
Great news. Joel Spolsky will (more then likely) come to Dublin to promote FogBugz. I don't use FogBugz personally but I've been following Joel's blog for more then one year and I can always learn something from him. It's not about the technology itself. It's rather about how the technology is related to our real life and how we can take advantage of it :).
I wish it was a built-in feature. Check it out. Tags: Tools
Yesterday I read a blog post that meant to discuss possible naming conventions for LINQ but it turned out that the most interesting part of it was something completely different. Namely, Krzysztof Cwalina wrote that we don't have to implement IEnumerable and IEnumerator to be able to iterate through an object(collection) using foreach statement. It's enough that a class exposes GetEnumerator() method. It doesn't have to implement IEnumerable interface. At the beginning I thought that it's just another example of syntactic sugar and that the C# compiler generates implicit IEnumerable declaration on our behalf. But then I opened ildasm.exe and...
I've just come across an interesting article about DTrace which is a tracing solution developed by SUN. I still need to dive into it deeper but it's key features are: zero overhead when it's turned off C based query language that allows you to query available probes it allows you to analyze the whole system at very low(kernel level operations) and/or high level (number of garbage collections) it gathers probes only when it's safe for the system it's built-in into Solaris 10 and will be part of the next operating system from Apple called Leopard It's been awarded many times and...
As I mentioned earlier I always wanted to read C# via CLR by Jeffrey Richter. Finally I got it a few months ago and while I was sick I read it. I think it's just brilliant because: I like the way Jeffery explains problems.He is strict and precise whenever it's needed but no more. As far as I know he is not a Microsoft employee which lets him express criticism of everything that deserves it. It reveals lots of things that you will never be aware of unless you start thinking in an illogical way. Unfortunately CLR and/or C#...
Jean Paul Boodhoo explains what the Model View Presenter design pattern is and what's the difference between it and Model View Controller. I've never been a big fun of MVC because it tightly couples View and Model. Tags: .NET, Design Patterns
Check this out. It's a great crib sheet and I've even downloaded it to my machine. Just in case it disappears from the Internet :). Tags: .NET
Michele Leroux Bustamante presents a rather short article about WS-* standards. It's great because it allows you to see the big picture and how all of these standards fit together. There are so many of them that it's easy to get lost if you don't deal with them directly on daily basis.
Tags: WS-*, WCF, Web Services