Fleshgrinder wrote on 07/04/2016 18:35:
I would like to change above definition for properties since the*var*
deprecation was voted negative:

# Properties
private   := limited to the current class
protected := limited to the current and child classes
var       := limited to the current assembly
public    := global

I'm not convinced of the value of reusing the keyword in this way. To me, there is nothing in the term "var" that means "slightly less than public", and if we want to have package/assembly/whatever visibility, we should reserve a new keyword for that use.

Meanwhile, it might be worth checking the list archives for previous discussions of package visibility; I know it has come up a couple of times recently, in various forms, so it would be good not to repeat the same points again and again.

Regards,
--
Rowan Collins
[IMSoP]

Reply via email to