In computer science and mathematics, an anonymous function is a function with no name. Usually, a function is written like: formula_1. It can be written anonymously as formula_2. Anonymous functions exist in most functional programming languages and most other programming languages where functions are values.