Java Features We Love. [Moved by Java]

preview_player
Показать описание
JetBrains loves all programming languages, and developers of all types! This May, Java turns 25 years old!
To celebrate Java's 25th birthday, we wanted to highlight some of the features of Java that developers love to work with:
- Collections API
- Convenience factory methods for collections
- Streams API
- Lambda Expressions
- Optional
- Checked exceptions
- Annotations
- JShell (Java REPL)
- Local Variable Type Inference (var)
- Access modifiers and modularity
- Switch expressions
- Helpful NullPointerExceptions
- Preview features (Records; Pattern matching for instanceof; and Text Blocks)

*Author: Trisha Gee

Join us:

#Java25 #JetBrainsLovesJava #MovedByJava #intelliJIDEA #jetbrains #java #programming
Рекомендации по теме
Комментарии
Автор

- Collections API 0:10
- Convenience factory methods for collections 1:16
- Streams API 1:52
- Lambda Expressions 2:28
- Optional 3:18
- java.time 4:06
- Checked exceptions 4:45
- Annotations 5:20
- JShell (Java REPL) 6:08
- Local Variable Type Inference (var) 6:32
- Access modifiers and modularity 6:59
- Switch expressions 7:45
- Helpful NullPointerExceptions 8:37
- Preview features (Records; etc.) 9:13

gillamngu
Автор

It’s definitely hard to see such an engaged company these days, in the sense that little to no companies provide such a quality product with a surplus (in JetBrains case, also producing videos with great content for their IDE). It’s clear that you guys, as stated on your motto, have the “drive to develop”. As a CS student, it’s really motivating to see that such companies exist - and I’ll do my best to work in one of them. Nonetheless, keep up the great work! Cheers from Brazil

joaopedrodeamorim
Автор

“Since Java 8, Java developers now have a date and time API that is easy to work with, readable and correct”
🔥🔥🔥Loving the casualness of the “and correct”.
RIP java.util.Date.

visitforthemusic
Автор

Each new Java version introduces an amazing set of functionalities and improvements while maintaining backward compatibility.

GayanWeerakutti
Автор

Java enums, collections framework, Arrays and Strings methods, streams API are my favorite

shrshk
Автор

Happy Java's 25th birthday. Great video. IntelliJ IDEA is the best.

PhuLe-izip
Автор

Much as I hate to even utter this...C# and some other languages have had most of the "features" mentioned for years. The fact that Java was so late in coming to the party for some of these features is actually a bit mindblowing, if you think about it.

I still love Java, but we need to be honest with ourselves here... Java until recently has been a behemoth that was missing many of the more modern language features many devs had come to enjoy from other languages.

tiredoftheliesalready
Автор

Do am I the one who dislike some of the things listed here :D So, going in order:
- Collections API is old and don't have many useful methods I frequently use in Kotlin for example.
- Convenience factory methods for collections are good, but it still doesn't change the fact that mutating methods would simply throw exceptions. This is a design flow where we can't distinguish mutable from read-only collections on interface level.
- Streams API is relatively good, but also lacks of many useful methods and its' parallel mode is broken, because you can't just pass a thread pool directly.
- Lambda expressions are quite good, but Java lacks universal functional types and what irritates me is that we can't use placeholders for unused parameters.
- Optionals in Java are trully terrible. The problem is that if we want to effectively use monads we need a language level support for them like in Scala. It's better to just introduce nulls in type system directly like Kotlin or C#.
- Checked exceptions: honestly it's more irritating than helpful. They should just show compilation warnings instead of errors. It is even worse when used in lambda expressions.

The new data/time is trully great. One of the best I ever seen. The rest is a nice improvement, but mostly it's just coping what other languages had for years already ;)

pawewodarczyk
Автор

Loved it but Please tell the short cuts aswell

sachinsehwag
Автор

Can I use these List.of() in Android ?

rageshantony
Автор

Absolutely loved it. Thank you for sharing.

avinashkafle
Автор

What's the feature explained in different window, is it Jshell specific to inteliJ

jpchennai
Автор

We love hash maps and maps
*absolute silence, nothing else enters, not even a whisper*
and we love sets
*the void*

quack
Автор

I think this is an attempt to increase awareness about new java features as java demand is declining constantly and thus, the falling demand for IJ ide license.

secretsanta
Автор

Took 1:02 to make this a simple promotion video for an IDE.

commel
Автор

0:51
You don't even wanna know how I've heard that.

генераторимен-ых
Автор

Yeah so now I know why my university has its own components for this kinda stuff

prod.kashkari
Автор

This entire video described how java finally caught up to C# but still doesn't allow direct memory access or the integration for direct use of C++ and C.

slathian
Автор

I love Java and as a scientific programmer, I see some aptitude in it. however; there is something missing and that is why people prefer python to it

amirm
Автор

So basically any other modern languages’ default features

SilisAlin