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

I've had some C# code inflicted on me recently that follows the pile of garbage design pattern. Just some offshore guys fulfilling the poorly expressed spec with as little brain work as possible. The amount of almost-duplicate boilerplate kicking around is one of the problems. Yeah it looks like the language design encourages this lowest common denominator type approach, and has lead into the supplier providing code that needs substantial refactoring in order be able to create automated tests as the entry points ignore separation of concerns and abuse private v public members to give the pretense of best practices while in reality providing worst practice modify this code at your peril instead. It's very annoying because I could have used that budget to do something actually useful, but on the other hand improves my job security for now.


Sounds like you would have had problems whether there was boilerplate-y code or not.


The extra boilerplate noise with excessive repetition doesn't help one little bit.




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

Search: