[Opengeoscience-developers] vgl protected work
Aashish Chaudhary
aashish.chaudhary at kitware.com
Fri Oct 4 13:15:39 EDT 2013
Folks,
I am thinking of dropping that idea. After reading quite a bit I am
convinced that its probably better not use to private variables. Just
having a m_ prefix should tell developers that it is private and not be
used like a public variable.
So if we had
var classA = fuunction() {
/** @priate */
var m_foo = 10;
};
Now it will be
var classA = function() {
/** @priate */
this.m_foo = 10;
};
With this change, the derived classes should be able to take advantage of
it as for them it would be
ok to call this.m_foo directly.
I am very much interesting in hearing your thoughts on it. So please reply
to this email asap.
Thanks,
--
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/opengeoscience-developers/attachments/20131004/22fceed3/attachment.html>
More information about the Opengeoscience-developers
mailing list