Anonymous methods / functions: fundamental function or violation of OO principles?

Is the recent move to anonymous methods / functions in major languages ​​like perl and C # something important, or a weird function that violates OO principles?

Are the latest libraries like the latest version of Intel Thread Building Blocks and Microsoft PPL and Linq that depend on such things or not?

Are languages ​​that currently reject anonymous methods / functions, such as Java, making wise choices in essence with a purely OO model, or are they behind the lack of a fundamental programming function?

+3
source share
8

- API, LINQ, OO.

+18

- , .

- / , " OO-", : , OO.

, , - " OO" . .

+13

, OO.. , ...

, , , ... , ... , .NET- , OO.

+3

# ; . CLR 2.0 ( # 2.0) , , , OO. , " " .

, , #, , , .

+1

Java " OO-" ; Java , . :

Java - . Java , : , . , , .

( " ", Java . , , .)

+1

Python .

- .

Python , , .

0

OO. . , , .

0

OO?

: - , .

.

OO, Java " OO " Java "

, , Java, .

, Java, , , Java " , - - ". , , .

.

0
source

Source: https://habr.com/ru/post/1718034/


All Articles