Pas de Code
76 subscribers
106 photos
1 file
402 links
What I cannot create, I do not understand.

DM: @alexey_mileev
Original channel in RU: @devballet
Twitter: twitter.com/pasdecode_
Download Telegram
Some explanations on I/O stuff:
- What is the difference between I/O-bound and CPU-bound tasks
- What is non-blocking I/O about (java.nio)

#java #io #nio
Check out this JEP. They propose to enhance instanceof so it can be used like this:
if (obj instanceof String s) {
    // can use s here
} else {
    // can't use s here
}

 
#java #jep #instanceof
Records (kind of data classes for Java) continue to evolve and it's great! JEP 384 is a second iteration based on the first preview feedback.
 
#java #records #jep