Chapter 4: Primitive Data Types
In the previous chapter, we learned about working with variables and constants in detail. We also learned how to make single- and multi-line comments in the code that offer readability. In this chapter, we will learn about primitive data types.
As we learned when defining variables in the previous chapter, the variables we define hold data that belongs to certain types, such as string, Boolean, or rune, or it could be one of the numeric types, such as the family of integer types or floating-point types. This chapter will cover in detail the nature of these types and how to work with them.
In this chapter, we will learn various types and concepts related to primitive types as follows:
- Primitive data types
- The ...
Get Getting Started with V Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.