Great article. I'd just stress that functions are statements, lambdas are expressions. Expressions can better fit some nooks - as shown.
If you assign a lambda expression to a variable then you would most likely be better using a function definition instead - also as shown :-)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article. I'd just stress that functions are statements, lambdas are expressions. Expressions can better fit some nooks - as shown.
If you assign a lambda expression to a variable then you would most likely be better using a function definition instead - also as shown :-)