Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’m danish, like I assume the author is, and what he preaches here is very typical of meta-programming in our C# crazed nation. I get it too, it’s a lot easier to have a lot of short functions with single responsibilities in a neat structure while you’re working on a C# project. As long as you know what you did and where you put it, it’s absolute bliss. It’s also really easy to sell your clients a lot of useless automated tests for this approach.

Five years later when I come in to debug the monster you’ve lost track off, however, I’ll curse you to the death as I go through endless loops of “go to definition”.



What specifically about C# makes this approach appealing?


I guess it's one of the few languages (Java is another) with proper IDE support. Most other language IDEs mostly provide syntax highlighting and basic support for debugging and go-to-definition, which also tends to break.


Visual Studio is amazing at juggling things that are wonderful while you have a mental map of your code and nightmarish once you don’t.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: