When you like your code with a bit of spice

Share on X (Opens a new window) Share on Tumblr (Opens a new window) Share on LinkedIn (Opens a new window)

I recently came across this post on LinkedIn, a pretty hilarious stab at AI produced content:

Anyway, I think they're on to something. It's actually working. At least judging by this gem I got from Google's search AI widget earlier today:

In currying, a function with multiple arguments is transformed into a series of functions, each taking a single argument. This allows for greater flexibility and code reuse, as you can create specialized versions of a function by partially applying its arguments. Do's: Use fresh spices, toast spices before using, and keep garlic and ginger fresh. Don'ts: Overcook protein, and don't underestimate the importance of onions in a curry sauce.

As with all things in life, everybody needs a bit of spice in their code, just to keep things interesting. Not.

X Click to share (Opens a new window) Tumblr Click to share (Opens a new window) LinkedIn Click to share (Opens a new window)
Published with Ghost