2 ms·
Of course it depends on who's using your code. In java, if you have an api that other people are using, then you must use getters and setters. In python there i
by axiak 14y ago
Of course it depends on who's using your code. In java, if you have an api that other people are using, then you must use getters and setters. In python there is no such restriction.