05-19-2018, 03:32 AM
(This post was last modified: 05-19-2018, 03:36 AM by DerVVulfman.)
No problem. Given the similarities between the two, you could jump from Ruby to C++ after some practice.
Oh, and I should point out that default initialize methods do exist within C++ programming as well, likely what Ruby's default initialize is based upon. The creation of automatic, static, or thread-local variables is thus made possible without such a method being added into the code, sloppy though that may be. Oh, I've done some studying of constructors and destructors in C++. Destructors are akin to the 'dispose' method we make, and there are default dispose and destructor methods.
Oh, and I should point out that default initialize methods do exist within C++ programming as well, likely what Ruby's default initialize is based upon. The creation of automatic, static, or thread-local variables is thus made possible without such a method being added into the code, sloppy though that may be. Oh, I've done some studying of constructors and destructors in C++. Destructors are akin to the 'dispose' method we make, and there are default dispose and destructor methods.