Why null safety? | Session

  Рет қаралды 38,646

Flutter

Flutter

Күн бұрын

Пікірлер: 76
@jdheeter
@jdheeter 3 жыл бұрын
This man is great at explaining things
@thebirdhasbeencharged
@thebirdhasbeencharged 3 жыл бұрын
You should read his books (Crafting Interpreters and Game Programming Patterns), walking wizard!
@philosophia5577
@philosophia5577 Жыл бұрын
I felt the same entire time. This video gave me a lot of topics to explore after which I will rewatch this video for greater understanding.
@StanislausMadueke
@StanislausMadueke 3 жыл бұрын
This is definitely my current favourite IO talk - just the right level of detail for such a complex topic. Great job, Bob! Hope to see more from you in future. ♥️ Dart and Flutter!
@awsumgeorge
@awsumgeorge 3 жыл бұрын
+1; The speaker's profile badge is quite misleading, though. Bob does not look anything like that picture nowadays, and the chihuahua passed away since the picture was taken. (Check out Bob's books, btw. Good stuff; approachable and informative.)
@nicolalanzoni674
@nicolalanzoni674 3 жыл бұрын
@@awsumgeorge Hey Jiri, what's the name of Bob's are you referring to? I'd like to take a look. Thanks
@awsumgeorge
@awsumgeorge 3 жыл бұрын
@@nicolalanzoni674 They are "Game Programming Patterns" and "Crafting Interpreters". Both available to read for free at the book's websites.
@huthaifa5
@huthaifa5 3 жыл бұрын
When I listen to Bob Nystrom talk about Dart and Null Safety, it feels like listening to poetry. Not even sorry for how geeky that sounds. Amazing work guys, always happy for the constant improvements and changes you keep providing.
@SundiMyint
@SundiMyint 3 жыл бұрын
I have seriously never consumed more articulate code content on the internet. Thank you all for your hard work and putting time into making this content for us!
@pauek
@pauek 3 жыл бұрын
I love that you decided to publicly talk about the complex decisions that went into implementing null safety, and not water it down. Thanks so much!! This can only strengthen our confidence in and attachment to Dart and Flutter.
@kamil_supabase_enjoyer
@kamil_supabase_enjoyer 10 күн бұрын
THANK YOU FOR NULL SAFETY. BEST FEATURE EVER ❤
@jainam9805
@jainam9805 3 жыл бұрын
i don't comment publicly often but damn this guy busted my brain with knowledge of language designing! Please start your own channel and disperse knowledge of dart
@LohenYumnam
@LohenYumnam 3 жыл бұрын
Coming from Swift .. I love null safety.. awesome job guys ❤️❤️
@krishnateja4688
@krishnateja4688 3 жыл бұрын
really ? the persons who came from swift won't like this cause this doesn't has if let or guard, which is crucial for type promotion.
@LohenYumnam
@LohenYumnam 3 жыл бұрын
​@@krishnateja4688 ya that part I miss a lot. I miss the power of enum, in swift too. Dart is not perfect but they are trying. It’s funny that if (x != null ) is the alternative of guard let or if let
@波波-j1i
@波波-j1i 3 жыл бұрын
@@krishnateja4688 Came from swift too. its just a litter bit more code . i will take it.
@azrulihsan4085
@azrulihsan4085 3 жыл бұрын
Such a relief with null-safety features in dart. Been migrating my old projects and it felt like a heavy burden lifted from my head. Good job flutter team!
@huxpresso
@huxpresso 3 жыл бұрын
I don't use Dart but I studied PL in school so I love the balance between being pedantic and being pragmatic during this talk ❤️ Definitely the best programming talk this IO so far!
@Neoclassicalmaese
@Neoclassicalmaese 3 жыл бұрын
This man claims in his books Crafting Interpreters that language designers are no dark arcane wizards. But he cannot fool me, is IS a dark arcane wizard. Thank you Bob for sharing your knowledge with the world!
@samgamer3530
@samgamer3530 3 жыл бұрын
Terrific presentation -- Bob, you are killing it
@roger58469
@roger58469 3 жыл бұрын
This was really great to watch, an excellent explanation. Thank you very much for the video and kudos to Bob Nystrom!
@dovas90
@dovas90 3 жыл бұрын
Great description and explanation! Thanks for the help. I love your team!
@MichaelDuarte
@MichaelDuarte 3 жыл бұрын
This is awesome, thanks for the super easy to understand explanation of how this works and most importantly, why!
@dantedt3931
@dantedt3931 3 жыл бұрын
Great explanation. Flutter is the future!
@Yous0147
@Yous0147 3 жыл бұрын
Amazing video, great overview and very insightful discussion. Really enjoyed every minute.
@osamaali6603
@osamaali6603 3 жыл бұрын
Wow! This was an amazing talk. Poetic!
@nordern1
@nordern1 3 жыл бұрын
TIL: We use C because Pascal had static array sizes :P
@jrheisler
@jrheisler 3 жыл бұрын
Flutter Web app, just migrated to null safety, it is noticeably faster, and the migration tool!!! Well done!
@peterhuijsen
@peterhuijsen 3 жыл бұрын
Really well explained! Loved the talk.
@muneebmukhthar4880
@muneebmukhthar4880 3 жыл бұрын
Best I/O talk !
@SaiyanJin85
@SaiyanJin85 2 жыл бұрын
That was great! It makes me think about my code in other languages.
@dc5
@dc5 3 жыл бұрын
What a great talk! Thank you, Bob! About fields and top-level having to use the bang... I still find it a little odd and not sure if it's good practice or not to do it that way. For example, that screen at 14:38 looks scary ... if (_positional != null) rules.add(_positional!); I have many of those around and just feels odd. So I wanted to know your opinion on whether that's ok or if there is a better, recommended way of handling those?
@pierre-louisguidez2040
@pierre-louisguidez2040 3 жыл бұрын
This is expected for fields. The explanation and an alternative to using ! (copying to a local variable) are explained at dart.dev/null-safety/understanding-null-safety#working-with-nullable-fields
@dc5
@dc5 3 жыл бұрын
@@pierre-louisguidez2040 thank you, that's what I've been doing... A mix of bangs and local variables.. just wanted to confirm it was good practice.. thank you!
@SethuSenthil
@SethuSenthil 3 жыл бұрын
I always wondered how the Dart engine checks null, this is crazy
@nicoeg
@nicoeg 3 жыл бұрын
Such a good explanation and really good talk!
@baraaaljabban9058
@baraaaljabban9058 3 жыл бұрын
I read a lot of comments say : great talk (and really it is), but I don't know why I fell it's too heavy or it's so hard for me to understand it easily 😂 I'll get back to it agin to understand more. Anyway thank you for the explanation ❤️
@bibitepower
@bibitepower 3 жыл бұрын
Null Safety is awesome, you did a great job! 💪 I think we're all waiting for type unions and data class 😉
@Kitulous
@Kitulous 6 ай бұрын
7:50 coudn't the outside code update the list? like in the first isNotEmpty call it had no elements, therefore border didn't get initialized, then some other code in between the two ifs added an element in there, and the second isNotEmpty succeeded, and we got an uninitialized border variable. List can be mutable, it's not some sort of read-only list.
@agung_laksana
@agung_laksana 3 жыл бұрын
Please provide optional casting ( as? ) like in Swift and Kotlin
@_chappie_
@_chappie_ 3 жыл бұрын
Interesting. I've always thought the idea was to eliminate null values all together, unless absolutely necessary. Thanks for the insight.
@sohelakhtar8044
@sohelakhtar8044 3 жыл бұрын
Great talk❤️🇳🇵
@Pablo_IF
@Pablo_IF 3 жыл бұрын
Great video!! Many thanks!!
@ruynobrega6918
@ruynobrega6918 3 жыл бұрын
One of the things that made me use less python was the dynamic type check/null check. It REALLY slows down apps. Typed languages are the best to read and write, and null safety improves both readability and performance. To be honest, I don't think there is any drawback here at all.
@CleisonArenhart
@CleisonArenhart Жыл бұрын
It can be pretty painful migrate an old codebase to null-safety. I ran "dart migrate" and i've noticed that our code is not prepared for that. A lot of usages of maps as indexes which needs "!" operator, a lot of variables that needs to be late and the migration didn't recognize it, so made it as nullable ("?" operator). Now I'm looking for 466 files to check which one is right and which one is not. Basically, I'm re-doing everything. At least, de migration marked-up which file I have to look.
@krokenstiv8777
@krokenstiv8777 3 жыл бұрын
Supporting both dynamic and static typing is a very smart decision. Also I like that I can use Future as a coroutine or as a promise depending on the problem. But nullsafety is not important for me.
@kousheralam
@kousheralam 3 жыл бұрын
Nicely explain, love it 🤩
@tananga1523
@tananga1523 3 жыл бұрын
Love this videos ! Can you guys add support for Dart in Cloud Functions ? Is a shame to use node or python. That will be legendary !!!
@sthiag0
@sthiag0 3 жыл бұрын
Wow. What a great great talk.
@Randomdude-i8x
@Randomdude-i8x 2 жыл бұрын
Instead of a null error I just get unexpected behavior that takes a while to debug. If i get a nullpointer I immediately know what is wrong and where to fix it. Maybe I need to get used to it?
@amitm29
@amitm29 3 жыл бұрын
Awesome talk!
@siyabon_ga
@siyabon_ga 3 жыл бұрын
Bob needs to explain all flutter/dart confusion related topics coz green light all of a sudden on my side.
@aminelahrim8142
@aminelahrim8142 3 жыл бұрын
Thank you for the informations I like null safety
@danielbarnett5764
@danielbarnett5764 3 жыл бұрын
Had to like this video. :-) Im new to Flutter/ Dart but is there an "undefined" value rather than null. I.e. not set vs actually null. Detecting something never set is a useful conditional test. Seems relevant to the example. Cheers great vid
@mobileappsdevware264
@mobileappsdevware264 3 жыл бұрын
Hi man, i start to learn dart and flutter, i wonder why object in in flutter can't be mirrored or reflected, i need to list an object properties , in other words i need to make some thing like GSON Lib (android) and JsonDecoder(iOS). can we?!
@adamcierniak3902
@adamcierniak3902 3 жыл бұрын
How to disasembly flutter program ? I mean how to extract lower levels of abstractions from dart to assembler?
@xXxBladeStormxXx
@xXxBladeStormxXx 3 жыл бұрын
But what about null safety in Lox, Bob?
@m00ni
@m00ni 3 жыл бұрын
:D
@idlevandal69
@idlevandal69 3 жыл бұрын
Great job!!!!!
@richardjay1791
@richardjay1791 2 жыл бұрын
Sweet. Thanks
@demondragon6198
@demondragon6198 3 жыл бұрын
it's informative !!
@evandrojunior7628
@evandrojunior7628 3 жыл бұрын
Amazing!
@obengkuning3260
@obengkuning3260 3 жыл бұрын
Why?
@akhileshsuvarna8830
@akhileshsuvarna8830 3 жыл бұрын
💙 from INDIA
@Shakl-e
@Shakl-e 3 жыл бұрын
I am not afraid of null anymore
@danvilela
@danvilela 3 жыл бұрын
300 IQ
@huthaifa5
@huthaifa5 3 жыл бұрын
IQ overflow*.
@MyrKnof
@MyrKnof Жыл бұрын
contrary to everyone else, I hate this so much. As someone who just got told to upgrade a 5 year old app its all just: late late late late late !!!!!!!!!!!!!!!!!!!!! ??????????????????? and hope it works afterwards. I got no idea what I'm doing or how to fix anything. Perhaps im just too dumb and lazy to be a programmer. Everything worked fine before.
@justchecking2470
@justchecking2470 3 жыл бұрын
and then suddenly all tutorials from old versions crashed
@mortysmith666
@mortysmith666 3 жыл бұрын
After migrating to null safety, my app size became doubled
@francisgeorge7639
@francisgeorge7639 3 жыл бұрын
Good presentation. But Google still need to be employing professional documentation writers and not engineers.
@m00ni
@m00ni 3 жыл бұрын
We do have two very excellent tech writers on the team. But we hear from many users that they appreciate learning directly from the engineers who work on parts of the system. (Also, I am an author too, so I guess technically I fit your criteria.)
@gokhangorali5385
@gokhangorali5385 Жыл бұрын
Electrons? detected :))
@francisgeorge7639
@francisgeorge7639 3 жыл бұрын
Delphi solved the Pascal string problem. It also had almost instant compile. And Oh my gosh it was so much simpler than Flutter. With Flutter we're almost back to 90% UI coding 10% business logic, which Delphi switched. Delphi died because Microsoft stole their lead developer, who went on to design c# and Typescript.
@coom07
@coom07 3 жыл бұрын
Bruh. Can u keep talking in every google IO
Lazy Flutter performance | Session
18:30
Flutter
Рет қаралды 58 М.
👨🏽‍💻 Dart Null Safety (Simple)
14:24
Mitch Koko
Рет қаралды 12 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 27 МЛН
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 19 МЛН
Null safety in Dart - Introduction
5:27
Flutter
Рет қаралды 164 М.
40 Years Of Software Engineering Experience In 19 Minutes
19:10
Continuous Delivery
Рет қаралды 90 М.
This is perhaps the greatest feature of modern programming languages.
5:56
Bringing pattern matching to Dart
20:28
Flutter
Рет қаралды 39 М.
Flutter Europe: Optimizing your Flutter App
44:05
Flutter
Рет қаралды 117 М.
Null Safety Explained | Why it is Awesome!
9:03
Tadas Petra
Рет қаралды 15 М.
C interoperability with Dart FFI | Session
13:37
Flutter
Рет қаралды 26 М.
Flutter Engage
3:58:21
Flutter
Рет қаралды 1,9 МЛН
The Art of Game Optimization
10:18
Worlds In Motion
Рет қаралды 269 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26