|
|
|
|
|
by danpalmer
1855 days ago
|
|
Thanks I have seen this talk, it's a good one! While the pattern is good to always be striving for, I think it can be too much boilerplate at times. If I've got say 100 lines of business logic, it makes sense to have 10 lines to do the necessary data shuffling to get everything in order so that you can keep your business logic a nice pure function. On the other hand, if you have 5 lines of business logic, it maybe doesn't make sense to have 10 lines of shuffling data to be able to keep the business logic a pure function. Not so much for the time to write it but because it can obscure the functionality for the reader. |
|