Chapter 9: Modules
Modular programming is the concept of logically grouping related functionalities together into modules and working with them. This approach enables you to wrap the related functionality into modules and allows you to import the required functionality that is available in those modules. V offers the concept of modular programming, allowing you to create and import modules that comprise code that is functionally or logically relevant in nature. To help you understand how to work with modules, in this chapter, we will cover the following topics:
- Introducing modules
- Working with modules
To begin, you will learn about the basic syntax to define and import modules. In the later sections, you will explore how to create a simple project in V and then learn how to create and import modules defined in our simple project. Following this, you will learn how to create multiple files and work with them in a module, along with gaining an understanding of the...