Covering these topics 1. Private interface methods. 2. Try with resources 3. Switch expression 4. Local variable expression.
@Woutor565 жыл бұрын
Great talk, explanation is very clear.
@alokuttamshukla3 жыл бұрын
Its more like new and cool features of Java rather than Clean codes.
@nitinagrawal66374 жыл бұрын
Very helpful session...simple & informative
@thebosssam59764 жыл бұрын
This helped me to decide... to avoid using type inference
@moshecsbgu14 жыл бұрын
Like with other tools, it depends what is the problem you are trying to fix with that
@AnthonyGoubard5 жыл бұрын
Learned quite a lot with this presentation
@ahmeddowidar80224 жыл бұрын
it's a great talk very simple and it's attractive topics
@Pspet4 жыл бұрын
This jshell thing is by an outstanding amount the worst development environment i have ever seen. Why would someone would want to write code in that?
@Pspet4 жыл бұрын
@Dennis Griese Thanks for the info
@andreyOMARama3 жыл бұрын
It's rather about "new Java features" than clean code...
@coolcoolj01025 жыл бұрын
wonderful presentation. Planning to upgrade to Java 10
@juliyansilva4 жыл бұрын
I want to be accurate as you are
@pengdu77514 жыл бұрын
why would things like List be in a talk about "clean code"? It's seems more like a trap for bad coding habits
@khaledabd72093 жыл бұрын
It does no harm but good Generics are invariant so when the type is unknown ? denote to it when ? is expected u can't assign any value other than null which. It is helpful for the libraries designer not in the business context.
@atomspalter20904 жыл бұрын
nice
@tobyzieglerrr3 жыл бұрын
good talk but WHY using jshell urrg
@tashi71602 жыл бұрын
Never had to use interface default interface method.
@JuanGarcia-zy8yw5 жыл бұрын
he shouldve been a lil more specific using wildcards. there is something called the put and get principle when using generics. when the generic is represented by a wildcard you cant add elements to it. the only way to add add elements is using the super keyword Lisr actually means
@MrMikomi4 жыл бұрын
Well yes but he did say 'a list of something that's potentially more specific than an object' at 36:16
@vladimirljubopytnov51933 жыл бұрын
In java 8, you create a helper class in the interface with private static methods and private ctor. You leak out there is a helper class, but with no methods visible and no instatiation possible. Not ideal, private methods on interface are nice, but "there is nothing you can do" is too strong of a statement.
@deepakbisht4957 Жыл бұрын
To be honest I don't like the idea of any implementation in an interface. I always try to avoid it...