Hi Dan, can you please make a video about heap and thread dumps. How can we investigate them, which valuable data can we retrieve, and how to operate efficiently with it
If you're planning on doing more of these Java ones, could you consider a Beginner, Intermediate and Advanced tutorial on Optional. Particularly focusing on refactoring a method that checks for null the old way.
Another great video. Thanks Dan! One thing I'm still puzzling over: Why the :: syntax? If I want to use a method I use the dot operator, like: object.method() and in some other languages, if I want a reference to the method I can just use the dot without calling the method to get a reference to the method, see: object.method. Is there a reason why there's a specific syntax that seems to me to be dedicated to getting a reference to a method, as opposed to using a syntax that is consistent with accessing other properties on an object (the dot operator)? Maybe there is something fundamentally different about accessing method references vs other object properties that I am missing because Java is not my first programming language?
That is a preview feature and while I like using it someone new to Java may not understand how to enable that or care for that matter. It's going to be in preview again in JDK 23 but I love this feature and am absolutely looking forward to it.
Without IDEs to help it make it harder to read the code as the signature of the method is hidden by this syntax. To be fair almost very one uses IDE. Conciseness is not always good. I feel the same way about Java allowing dropping types for lambdas.
I hope you are well. Visiting your channel I have seen your all videos and content are very good but your video SEO optimization is not professional. Perhaps you are busy for managing the channel