Jan-16-2021, 03:17 PM
And one thing that has been talked around but not sure if it has been pointed out directly - it is generally a very bad idea for a function in a class to directly access data that is outside of the class. If you were to try to reuse the class by importing into a different file, there could be serious confusion about the errors that arise.