3 ms·
Forcing users to specify manually means that you'll often end up with a mix of plural and singular names based on the whim of the developer who happens to imple
by nightpool 3y ago
Forcing users to specify manually means that you'll often end up with a mix of plural and singular names based on the whim of the developer who happens to implement that feature at that given time. I think that's strictly worse than Ruby or Laravel's automatic and predictable approach.
- iudqnolq 3y agoYes, it won't be perfectly consistent. Just like variable names, module names, and everything else we name. But why does that matter?
- skinkestek 3y agoBecause in the long run its tiring to deal with inconsistencies, and when a framework can do it equally good or better than most devs and make it trivially simple to override it if you ever happen to need it, that must be better?
- Fire-Dragon-DoL 3y agoIt will also be always clear, in ecto, what the table name is. In rails if there is a table name prefix involved, you will have no idea