Java Streams: Beyond The Basics

  Рет қаралды 73,651

Jfokus

Jfokus

Күн бұрын

Пікірлер: 24
@jvsnyc
@jvsnyc 4 жыл бұрын
The people who rated this low must have wanted way beyond the basics. Already, I like how clearly he set up in our minds when the Supplier pattern is appropriate. All the places I was already thinking of -- and more. Nice.
@mariemjabloun4500
@mariemjabloun4500 3 жыл бұрын
These is an amazing talk. Very rich and explains the reason behind Supplier, lambda... It help us to know what to use in each situation.
@cordovajose5693
@cordovajose5693 4 жыл бұрын
Best video I've seen about this topic. Thank you very much. Yet this done before Java 11. Starting with Java 11, peek() will not work as expected in the slides. For example if the terminal operation is a count(), the JVM can infer the result without processing the pipeline, and peek() will not run. That can be helped by preceding the peek with a innocuous filter. That way the terminal function cannot be inferred and the pipeline has to be processed, running the intermediate keep() code.
@HariharDas
@HariharDas 8 жыл бұрын
Examples were very practical.
@soumitripattnaik
@soumitripattnaik 7 жыл бұрын
47:24 - 48:01 You can handle the exceptions internally or you can do that in a wrapper lambda, just a much cleaner separation.
@mericet39
@mericet39 7 жыл бұрын
1:10 - 1:38 No presentation is complete without an occurrence like that
@vyshakhkj5348
@vyshakhkj5348 Жыл бұрын
Is there any resource benefit (in the aspect of memory) with streams compared to traditional external iterations. (Not about performance regarding execution time)
@phoneix24886
@phoneix24886 4 жыл бұрын
37:23 - "Accululator"! Sounds about right..
@sirrobert4820
@sirrobert4820 5 жыл бұрын
Brilliant presentation .... top
@michaelmarquez7980
@michaelmarquez7980 7 жыл бұрын
Uses Mac, surprised the slides freeze up.... bounce
@ASHISHTANWER
@ASHISHTANWER 7 жыл бұрын
Single Video better 3 units of Oracle MOOC. Focus on concepts. Examples make you think, understand and grasp the concepts.
@koraytugay
@koraytugay 6 жыл бұрын
How about `if(logger.levelInfo) {logger.info(getMessage());}`
@homem472
@homem472 5 жыл бұрын
It avoids getMessage to be executed unnecessarily, but it will be necessary to repeat "if" all the time. To avoid this repetition, a function that encapsulates the condition could be created, but this function already exists! It is exactly what the logger.info does. So, I prefer the lambda approach.
@aworden
@aworden 5 жыл бұрын
This is a much better approach because you can debug it and figure out what it happening in the code. Promises are a disaster and so is this similar lambda expression idea. Give me an if statement every time please - I'm a human and I need to be able to understand that code! :)
@gianis666
@gianis666 6 жыл бұрын
lambdra expressions
@luisdanielmesa
@luisdanielmesa 8 жыл бұрын
*takeWhile* should be named *takeUntil*, but *dropWhile* is ok...
@Ravikumar-gj6qw
@Ravikumar-gj6qw 3 жыл бұрын
Thanks
@yassinenacif418
@yassinenacif418 4 жыл бұрын
"Rock your java"
@aworden
@aworden 5 жыл бұрын
@27m - it makes no difference that you check some state in a ternary operator or do it in a function block as you were doing. There's no leak of state. Yes, it's not functional, but this is why functional programming never found practical roots in commercial programming (only academia) and it will die a death (not soon enough) when the companies using it realize that nobody can maintain the awful functional code written by those "bright sparks" who blaze a trail and never stick around to support their own code.
@ITech2005
@ITech2005 5 жыл бұрын
lol interesting perspective
@nO_d3N1AL
@nO_d3N1AL 7 жыл бұрын
Misleading title. This is basic stuff
@sfincione2000
@sfincione2000 5 жыл бұрын
Ternary operator not tertiary.
@ggsay1687
@ggsay1687 4 жыл бұрын
So basically, learn functional programming to use lambdas correctly.
@wazeeharaa8100
@wazeeharaa8100 2 жыл бұрын
1. Dont Show the Tutor which is no use. 2. He is chipping his tongue and lips. That sounds annoying
Functional Programming with Java 8 by Venkat Subramaniam
51:39
Java 8 to 18: Most important changes in the Java Platform
31:24
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
JDK 8: Lessons Learnt With Lambdas and Streams
30:38
SpringDeveloper
Рет қаралды 88 М.
From Concurrent to Parallel
50:09
Jfokus
Рет қаралды 20 М.
Teaching old Streams new tricks  By Viktor Klang
50:51
Devoxx
Рет қаралды 22 М.
Java 8 best practices by Stephen Colebourne
44:40
Devoxx UK
Рет қаралды 63 М.
Reactive Programming in Java by Venkat Subramaniam
52:20
Devoxx
Рет қаралды 122 М.
Functional Programming with Java 8
58:24
JetBrains
Рет қаралды 244 М.
Effective Java, Third Edition Keepin' it Effective (J. Bloch)
45:58
Java 8 Language Capabilities, What's in it for you?
1:25:27
SpringDeveloper
Рет қаралды 199 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН