Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How Events Are Reshaping Modern Systems [video]. Parent comment
watchers[0].customerNameChanged(this, old_name, new_name);
emit_for_whomever(new CustomerNameChanged(this,old_name, new_name));
The second version actually has more classes being defined and objects being created. However, it comes with quite a few benefits in terms of documentation, duplication, persistence, deferring, batching, etc.
There are no comments on this comment yet.
watchers[0].customerNameChanged(this, old_name, new_name);
emit_for_whomever(new CustomerNameChanged(this,old_name, new_name));
The second version actually has more classes being defined and objects being created. However, it comes with quite a few benefits in terms of documentation, duplication, persistence, deferring, batching, etc.