Function Syntax Evolution: Less Is More

Function Syntax Evolution: Less Is More
programming-languages-memes, syntax-memes, golang-memes, kotlin-memes, rust-memes | ProgrammerHumor.io

The meme shows a beautiful devolution of function syntax across programming languages, with a guy progressively losing his mind with excitement.

Golang: func (){} - Mild interest.

Kotlin: fun (){} - Growing enthusiasm because coding is suddenly "fun".

Rust: fn (){} - Full-on excitement as we're saving precious keystrokes.

Bash: (){} - Complete ecstasy. Who needs labels when you can just have parentheses and curly braces floating in the void?

Four characters to two. That's 50% efficiency improvement. The CFO will be pleased.

More Like This