Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 900 Bytes

comparison-callbacks.md

File metadata and controls

25 lines (14 loc) · 900 Bytes

Authentication

Callbacks vs. Functional River

Here's a rough visualization of our function: image

See both Before and After examples below.


Before

Node-style Callbacks w/ Nesting

Note: This is intentionally reasonable callback code. Even if nested. Not trying a straw-man attack.

callback-mountain-before

After

Functional River Pattern

callback-mountain-after