v_by_example icon indicating copy to clipboard operation
v_by_example copied to clipboard

Learn V by Example

V by Example

NOTE: This is very outdated and it will be updated and worked upon when V 0.2 is released.

Brazilian Portuguese | Deutsch | English | Bahasa Indonesia | Chinese | Japanese | Italian | French

Learn V by Examples

V by Example is a direct introduction to V by using annotated program examples.

  • Examples
  • Contributing
  • License

Discord: https://discord.gg/vlang

Section 1

Introduction to V by presenting a few basic examples and exercises.

  • Hello World
  • V Keywords
  • Primitives
  • Variables
  • Strings
  • Comment

Section 2

This section discusses the main operators and conditional statements in V.

  • Operator
  • If-else
  • Match
  • Loops

Section 3

A study on functions and methods and in the most important data structures in V: arrays and struct.

  • Functions
  • Arrays
  • Struct
  • Methods

Section 4

In this section, we dive deeper and study the features inside the Array object. Other examples like JSON, Writing/reading files and Testing are covered.

  • Array Functions
  • Testing
  • Files
  • JSON

Team

Current list of maintainers/authors:

Contributing

See our CONTRIBUTING.md and start contributing today. We usually elect new maintainers based on contributions.

License

MIT