First-class methods #
Over the years, imperative languages (like Python, JavaScript, C#, C++, Java, etc.) have incorporated features borrowed from functional programming.
Java 8 (2014) was an important step in this direction, notably with the introduction of lambda expressions, often used in combination with streams.