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 ...
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.