Previous episode: 07. Challenge: Play with Logical Operators
Next episode: 09. Introduction
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
At last we've reached the end of the first part of this course. You learned some new things about the Dart programming language, but we're just getting started. You learned the basics of how to use DartPad, and in doing so, you learned how to comment your code. Code commenting is more of an art than it is a science. Ideally, you want to write your code in a way that is self-documenting. Too many comments can be overwhelming. So, try to find that Goldilocks zone of documentation. You also learned about another Dart type called Booleans or bools, which are values that are either true or false. Along with bools, you tried out a bunch of comparison operators, such as less than and greater than, that can be used to create those Boolean values. In addition, you use logical operators and, and or operators to find out if sets of Boolean values were all true or if at least one was true. Finally, you revisited the concept of if statements and extended that to if else statements and learned about a concise alternative the ternary conditional operator. That was a lot of ground to cover but hopefully you've been enjoying our deep dive into Dart and are having a fun experimenting so far with DartPad. If you wanna take your Dart skills to the next level continue on to the next part, where we'll focus on some useful ways to store data in your apps, collections, but also you'll learn how to deal with values that really aren't values at all and how to work with them. See you in the next part.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.