Programming in Dart: Fundamentals

Apr 26 2022 Dart 2.15, DartPad, DartPad

Part 1: Fundamentals

8. Conclusion

Lesson Complete

Play Next Lesson
Save for later
About this episode
See versions
See forum comments
Cinema mode Mark as Complete Download course materials
Previous episode: 7. Challenge: Play with Logical Operators Next episode: 9. Introduction

This video was last updated on Apr 26 2022

At last we’ve reached the end of the first part of this course. You learned some new things about the language but we’re just getting started.

You’ve 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 then a science. Ideally, you want to write in a way that is self-documenting. Too many comments can be overwhelming so you try to find the Goldilocks zone.

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 used the 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 fun experimenting in DartPad so far.

If you want to take your Dart skills to the next level, continue onto the next part where we’ll focus on some really useful ways to store data in your apps: collections! But also, you’ll learn how we deal with values that aren’t really values at all, and how to work with them. See you in the next part.