2 ms·
> I also dislike this Rails/Ember-CLI scaffolding stuff. It simply feels like too much magic for me. Good thing nobody forces you to use scaffolding in Rails.
by aikah 11y ago
> I also dislike this Rails/Ember-CLI scaffolding stuff. It simply feels like too much magic for me.
Good thing nobody forces you to use scaffolding in Rails. Code generation should always be a one shot , to get started on something.
On the other hand the situation in Go land with "go generate" is much much worse, as code generators become dependencies , right in the code with pragmas ...
The worst offender is PHP of course, with frameworks like Symfony or Doctrine (and its famous proxies because yes, Doctrine doesn't actually use the code you write but the one it generates and put in a proxy folder ) that use code compilers and generators for everything from routing to dependency injection to every configuration step . Although PHP frameworks usually do it on the fly so no manual step.