Platinum Partner
java,news

Have Your Say on Java 8 Default Methods Syntax

Brian Goetz has just published a one question survey where you can indicate your preference on the syntax to be used for default methods in Java 8. 

Default methods will be used to allow an interface method to provide an implementation used as default in the event that no concrete class provides an implementation for that method.  The choice presented is fairly subtle, where the default keyword is specified either at the start or end of the method signature. 

If you're fussy about syntax, here's a good opportunity to have you say.

 

 

Published at DZone with permission of {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}