2 ms·
the crucial distinction here is between definition and invocation or usage: it is fine to have complex behavior defined elsewhere, but then, as much as is poss
by recursivedoubts 4y ago
the crucial distinction here is between definition and invocation or usage:
it is fine to have complex behavior defined elsewhere, but then, as much as is possible, the usage of this behavior should be clear on the element using it
using the functions as a familiar example: it's not necessary that functions be defined inline to satisfy LoB, but it is necessary that the invocation of the function be colocated on the element on which an event is triggering the function