-
Hello everyone, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @8-byte You can use that constructor directly, there shouldn't be any problem. I made it private because it's not as encapsulated as the others, and it provides a lower level of abstraction. I thought that if you need to use this function, you understand the code well enough to modify it and make it public (like your case). On the other hand, for novel users, it may be confusing to choose what constructor to use and how, and that's why I decided to only expose the abstract constructors. |
Beta Was this translation helpful? Give feedback.
-
Hi @serizba, |
Beta Was this translation helpful? Give feedback.
Hi @8-byte
You can use that constructor directly, there shouldn't be any problem.
I made it private because it's not as encapsulated as the others, and it provides a lower level of abstraction. I thought that if you need to use this function, you understand the code well enough to modify it and make it public (like your case).
On the other hand, for novel users, it may be confusing to choose what constructor to use and how, and that's why I decided to only expose the abstract constructors.