At the moment, all subs in a code module or class default to public visibility unless the private keyword is used.
This mean that when I am creating a class, I need to remember to add private to all of the subs I do not want to be visible. In certain circumstances there are a great many more private subs than public subs.
It would be great if there could be a new directive
which defaults the scope of all subs to private UNLESS the public keyword is explicitly used.
This mean that when I am creating a class, I need to remember to add private to all of the subs I do not want to be visible. In certain circumstances there are a great many more private subs than public subs.
It would be great if there could be a new directive
B4X:
#DefaultPrivate: true
which defaults the scope of all subs to private UNLESS the public keyword is explicitly used.