To implement properties or not?

I found several methods on the Internet on how to implement property-like functions in C ++. There seems to be some good jobs to make it work well.

My question is that with the predominance of properties in managed languages, should I spend the effort and the ability to break code (or something else) on the implementation of properties in my code?

Let's say I'm going to create a call library for use by someone else, will the properties be sufficient to check for additional code?

+3
source share
6 answers

( ), , . .

C++. Qt .

+4

, , ? , , . . , MANAGED ++ #, - #, .

+9

. ++ - , " " . ++ , . -, .

+4

, . , , , .

, , Socket, . , int .

, 1024. , .

.

: ... .

0

Matlab ++, .. . , . " ".

0

, , .

- .

++, , . , Visual ++ - ++, , , . , , - ++, .NET.

In addition, creating an internal platform for this will almost certainly cause more problems than it solves.

0
source

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


All Articles