Message312913
@serhiy.storchaka Of course a similar pattern can be implemented via a class (or even without one as I've shown below).
But you can clearly notice that in your example:
1) There are tons of boilerplate (as in mine with lambdas).
2) It's going to be slower than a core implementation with specialized objects.
3) It can't be made to cooperate with a FORMAT_VALUE/BUILD_STRING - intermediate strings will still be produced. |
|
Date |
User |
Action |
Args |
2018-02-26 10:54:18 | arcivanov | set | recipients:
+ arcivanov |
2018-02-26 10:54:18 | arcivanov | set | messageid: <1519642458.5.0.467229070634.issue32954@psf.upfronthosting.co.za> |
2018-02-26 10:54:18 | arcivanov | link | issue32954 messages |
2018-02-26 10:54:18 | arcivanov | create | |
|