Summary
In this chapter, we learned about various basic concepts in V such as variables, naming conventions associated when defining variables, and mutable and immutable variables. We also learned about the limitations of variables such as global scopes, redeclaration, and variable shadowing. Additionally, we learned how to define and work with constants and understood how to define constants of complex types such as structs and functions.
In the later parts of this chapter, we also explored various ways in which we can add descriptive and short-form code comments such as multiline and single-line comments.
Having gained knowledge on how to define and work with variables, constants, and code comments in V, we will move on to the next chapter where we will learn about primitive data types in V.