Prefer on statements to from statements
Do not use streams unnecessarily. If an event expression in an on statement meets your needs, use it. Take advantage of mixing code elements for listeners and event expressions, stream processing, and responsive program actions, all in the same monitor.