Get the latest tech news

What Color is Your Function? (2015)


↩ ↪ February 01, 2015 I don’t know about you, but nothing gets me going in the morning quite like a good old fashioned programming language rant. It stirs the blood to see someone skewer one of those “blub” languages the plebians use, muddling through their day with it between furtive visits to StackOverflow.

For now, I won’t precisely define “painful”, but just imagine that the programmer has to jump through some kind of annoying hoops every time they call a red function. For example, let’s say we have a nice little blob of code that, I don’t know, implements Dijkstra’s algorithm over a graph representing how much your social network are crushing on each other. So with callbacks, promises, async-await, and generators, you ultimately end up taking your asynchronous function and smearing it out into a bunch of closures that live over in the heap.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Color

Color

Photo of Function

Function

Related news:

News photo

News Weekly: Android 15 is officially here, the Kindle gets some color, a new Galaxy foldable, and more

News photo

The Prompt() Function: Use the Power of LLMs with SQL

News photo

Amazon Kindle Colorsoft adds color to the e-reader for the first time