No video

Common mistakes made in Functional Java by Brian Vermeer

  Рет қаралды 17,594

Devoxx

Devoxx

Күн бұрын

Пікірлер: 20
@shriramparamesh
@shriramparamesh 4 жыл бұрын
4:07 - Doing too much in a single lambda. 7:19 - Returning a stream in a method. Reusing a stream. 11:09 - Forgetting to consume a stream 14:40 - Mutate objects inside a stream. 20:24 - Overusing forEach 24:08 - Order of operations 30:31 - 'Get'ting an Optional. 37:29 - Checked Exceptions and Lambda
@johnsand3290
@johnsand3290 5 жыл бұрын
nice talk, I liked the part about exception handling. Could you upload the sourcecode of your Either implementation?
@nitinagrawal6637
@nitinagrawal6637 4 жыл бұрын
A good presentation giving a set of suggestions to do sensible coding.
@romantsyupryk3009
@romantsyupryk3009 4 жыл бұрын
Thanks so much for this talk.
@gautamawekar1
@gautamawekar1 5 жыл бұрын
Nice talk..to the point. Liked the Optionals & Stream exception handling. I wonder why can't java inherently support some utils to support these limitations.
@berndeckenfels
@berndeckenfels 4 жыл бұрын
It does kind of with reactive streams, now. They have an error channel.
@nitinagrawal6637
@nitinagrawal6637 3 жыл бұрын
Asking a question should not change the answer, nor should asking it twice - I think it depends on the context of the question, depends on the type of question. So before applying any such concept one must understand it first.
@MikeEnRegalia
@MikeEnRegalia 2 жыл бұрын
I take issue with #2. In a use case where most clients calling a method that returns a collection will create a stream from it, it is more efficient to just return a stream directly. Callers who need to iterate twice can call the method twice. Callers who need a data structure can convert the stream easily, using concise code.
@m19u3l11
@m19u3l11 6 ай бұрын
In any case, Stream is NOT a collection so if's going to be used in that way expected unexpected results.
@noname78520
@noname78520 Жыл бұрын
awesome talk!
@tungtranvan1286
@tungtranvan1286 3 жыл бұрын
I saw myself in your example. Thank you :D
@kokavamsikrishna3933
@kokavamsikrishna3933 5 жыл бұрын
Greate , Awesome thanks for making this video,
@vijayjayaram606
@vijayjayaram606 3 жыл бұрын
There is a reason why he referred to Venkat 🙏🏼 at the beginning Venkat owns java streams and lambda 🤘
@temnur
@temnur 5 жыл бұрын
Good for beginners
@jfilipcic
@jfilipcic Жыл бұрын
I don't understand why the 0,1... iterator gets stuck when run in parrallel. Could please anybody explain it like I'm five?
@mihaiapostol7864
@mihaiapostol7864 Жыл бұрын
i think because the results of the threads are joined right before the terminal operation, but we never get to the terminal operation because of the distinct(). try using a peek() after each stream operation to see what's happening. it confused me as well
@pnadmin7927
@pnadmin7927 5 жыл бұрын
So Venkat always say we should use Reactive stream. LOL
@ebn__
@ebn__ 5 жыл бұрын
Using Java for FP is the common mistake.
@alekseyreviakin3019
@alekseyreviakin3019 5 жыл бұрын
I watched this video and video about near Java future: kzfaq.info/get/bejne/ntiphKx6xtmriWg.html and thought: "Look Java is almost like Scala now". Maybe Java need own way?
@AngelCintiaRockgirl
@AngelCintiaRockgirl 5 жыл бұрын
lyhahahahha, pretending that Java is actually a real compiler. hahhaahaha
Exploring reactive programming in Java by Miro Cupak
44:14
FP vs OOP: Choose Two by Brian Goetz
42:59
Devoxx
Рет қаралды 31 М.
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 19 МЛН
what will you choose? #tiktok
00:14
Анастасия Тарасова
Рет қаралды 5 МЛН
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 78 МЛН
VICTOR RENTEA - Functional Programming Patterns with Java8
55:11
10 Most Common Java Developer Mistakes
16:13
Amigoscode
Рет қаралды 105 М.
Functional Programming in 40 Minutes • Russ Olsen • GOTO 2018
41:35
GOTO Conferences
Рет қаралды 810 М.
Twelve Ways to Make Code Suck Less by Venkat Subramaniam
1:00:44
Optional by Stuart Marks
48:21
Devoxx
Рет қаралды 30 М.
Clean Code with Java8 4 years later (V. Rentea)
46:08
Devoxx FR
Рет қаралды 22 М.