[Issue 6046] Not true for Java about Function Hijacking.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 23 04:45:15 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6046
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> 2011-05-23 04:40:59 PDT ---
I would say the only valid request here is to mention that Java has the
@override flag which can be used to prevent hijacking, but is not the default.
I think you misunderstood the point of this article. The point is to prevent
hijacking the *default* must be to prevent hijacking. Having annotations and
modifiers that allow you to prevent hijacking is not good enough.
I think you also misunderstood the scope in the article of Java's shortcomings.
I think the author only singles out one aspect of Java, it's overload
resolution for inherited methods. Nothing else applies to Java.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list