logoalt Hacker News

swiftcoder • yesterday at 8:19 PM • 2 replies • view on HN

Honestly, this just looks like one of those lingo-heavy-but-surface-level blog posts that used to make functional programming spaces so insufferable to everyone on the outside


Replies

ahartmetz • yesterday at 10:35 PM

You want to avoid branches in hot paths. If you branch inside the loop, lots of branches. If you branch outside the loop (into different specialized loops), few branches. Big fucking deal.

➕ show 1 reply
mahboi • yesterday at 8:55 PM

These things are so divorced from the reality of programming, even when they involve actual code instead of fancy lingo. Like in Scala, not a pure functional language, tutorials used to find the most convoluted higher-order functional way to do simple things.