Introduction
Single-expression functions let you write simple functions in one line. This makes your code shorter and easier to read.
When your function returns a simple calculation or value.
When you want to write clear and concise code.
When the function body has only one expression.
When you want to avoid writing curly braces and return statements.
When you want to quickly define small helper functions.