Gavin Killough
Jun 29, 2022

Fair point. I appreciate that I can so easily assign a function to a variable and then pass it along, so Go deserves credit for being syntax-light in that regard. That being said, if you're calling a function that demands a function as an argument, you know the expected signature that your shorthand lambda needs to have. For functions that require more than a line, I buy that shorthand syntax is probably less useful, but for one-liners, I think using full function syntax is heavy-handed.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Gavin Killough
Gavin Killough

Written by Gavin Killough

Gavin is a software developer who is always looking for ways to improve code quality and build expressive APIs.

No responses yet

Write a response