LINUX.ORG.RU

История изменений

Исправление tailgunner, (текущая версия) :

Да прочитай уже вот это: «инкапсуляция (encapsulation) - это механизм

«In programming languages, encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination[1][2] thereof:

A language mechanism for restricting direct access to some of the object's components
A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data.»

В Rust есть и то, и другое. А ты просто странный.

Исходная версия tailgunner, :

Да прочитай уже вот это: «инкапсуляция (encapsulation) - это механизм

«In programming languages, encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination[1][2] thereof:

A language mechanism for restricting direct access to some of the object's components A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data.»

В Rust есть и то, и другое. А ты просто странный.