3 ms·
Fat models are clearly a bad idea. But DDD (also called view models elsewhere in this discussion) seem to be better than function based views. My bias comes fr
by adsharma 5y ago
Fat models are clearly a bad idea. But DDD (also called view models elsewhere in this discussion) seem to be better than function based views.
My bias comes from working in a dot-com era startup which had a single 2000 line java function to compute tax.
+1 for static typing and avoid embedding types in variable names.