4 ms·
Rails generators create the code you would write anyways. The MS generators created technical debt. Highly duplicated, ridiculous inclusions, questionable forma
by nahname 14y ago
Rails generators create the code you would write anyways. The MS generators created technical debt. Highly duplicated, ridiculous inclusions, questionable formatting and regions by default. It literally generates a code sample of what not to do if you want to write good code in C# (presumably VB as well).
- bdcravens 14y agoASP.NET MVC is really lights years ahead of other ways of building .NET apps, and is conceptually close to Rails in many ways. (Alas, its backstory is very OSS and un-Microsoft)
- raylu 14y agoI think this statement requires further explanation.
- nahname 14y agoSome of the generators for MVC are getting closer to rails. They are still pretty painful. T4 templates (commonly used in some of the nicer generators from nuget pacakges) requires EntityFramework. Furthermore, the templates themselves are very temperamental to create (tabs are not adhered to, nor spaces). The real reason rails generators work so nicely is that most of the components are known. MS pushes entity framework hard, but it isn't included by default. If you don't know what IOC is being used you cannot generate a controller. If you don't know the ORM, you cannot generate a model. Don't even get me started on the fact that most of the community doesn't even use either of those two.