
Learn to write a simple program in v using the v interpreter, save in main.v, and run v dot run, noting the interpreter is experimental.
Install and set up the IntelliJ IDEA community edition from JetBrains, download for Linux, skip the paid Ultimate edition, and note its use for Java, Kotlin, and the V language.
Learn to install and configure IntelliJ IDEA for the V language, install the V plugin, set up a dummy project, adjust font and appearance, and run V programs.
Explore V's if expression, compare it to C/C++'s ternary operator, and learn to assign values with if expressions by checking age to classify adults or teenagers.
Explore how to declare and initialize numbers in V, differentiate mutable and immutable variables, test with asserts, and understand integer and floating point data types and casting.
Explore rune in the V programming language by adding rune icons, copying and pasting code, and printing base runes to understand their simple, interchangeable role.
Explore how the V language handles arrays, including mutable and immutable builds, length and capacity, and automatic doubling of capacity as elements are added.
Explore variable number of arguments in the V language by defining a variadic function with three dots to accept multiple values and explode arrays into arguments.
Explore parameter evaluation order in the v programming language by testing a, b, c in a display_all function and dumping results, showing the order follows argument layout across versions.
Learn how V language uses default field values in structs, showing immutability, mutability, and updating fields like name within a default or empty struct.
Explore static type methods in the v language, showing how struct functions define static methods to group related behavior, with examples like animal.new for constructing and validating a name.
Explore embedding structs in the V programming language by adding and passing field values, using short syntax, and calling embedded struct methods to display data, while contrasting with anonymous structs.
Learn how to create and use modules in v by aliasing imports with the as keyword, renaming modules, and troubleshooting import errors in input and display workflows.
Explore aliasing imported models and submodules in V using the as keyword, and apply it to a validate submodule and its display function, noting aliasing works with submodules.
Initialize and clean up code using module init and cleanup functions that run automatically when a module is imported or the program ends.
This course provides a comprehensive introduction to the V programming language, covering its syntax, features, and practical applications. By the end of the course, learners will be able to build simple applications in V, understand its principles, and leverage its capabilities in software development.
V is a simple, fast, and safe programming language developed as an alternative to C. This course will guide you through the fundamentals of V and help you become proficient in writing efficient and readable code.
V is a relatively new programming language, so there isn't a long historical or philosophical tradition surrounding it specifically. However, I can provide an introduction to some key aspects of V's history and design philosophy:
V was created by Alexander Medvednikov in 2019
It was designed to be a simple, fast, and safe alternative to C
Early development focused on creating a self-hosted compiler written in V itself
The first stable release (v0.1) was in December 2019
Development has been open source on GitHub since the beginning
Design Philosophy
V was created with several core design principles in mind: Simplicity and Readability
The syntax is designed to be clean and easy to read
There is only one way to do things, reducing cognitive overhead
Target Audience:
Beginner to intermediate programmers
Software developers looking to explore new languages
Anyone interested in learning a modern, efficient programming language