Hi, So I've noticed that I've stopped getting e-mails saying people have replied to my answers/comments. I've also stopped getting notifications in the top corner of the page. I have to keep checking questions I've posted solutions on to see if there is a response. Is anyone else having the same issue or knows how I could fix it? I've checked my account settings and the e-mails still seem to be enabled.
Pheonyx
Posts
-
Notifications and Emails -
Extension Methods - Satan's favourite construct (controversial to nerds)You know what, I had never used extension methods until about a week ago. I created two in the space of 2 days and they make my code look a lot neater. They are simple and straight forward. Every single developer I have known likes some features and despises others. They all try and follow some pattern when developing but the one thing that makes it easy to modify someone else's code, generally is not the code itself it is the documentation. If you are going to use extension methods then have them documented so people can easily understand what they are and where they come from. If you are going to use lots of interfaces and abstract classes take advantage of Model diagrams so people can see the structure. If you were to be handed a program that was one great big God Method with no comments/documentation it would be just as much of a challenge to understand as a solution with 10 class librarys containing interfaces/abstract classes/extension methods etc if that had no documentation. As was mentioned by another person, Bad Programmers write Bad Code... but what wasn't mentioned is that Bad Programmers do not document! I've seen some god awful code, but understood what it was doing because it was documented very well. That's my view anyway. It is not necessarily about abusing features, but if you use them document how and why.