> For the complete documentation index, see [llms.txt](https://v-community.gitbook.io/v-by-example/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v-community.gitbook.io/v-by-example/readme.md).

# V by Example

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

[Brazilian Portuguese](/v-by-example/pt-br.md) | [Deutsch](/v-by-example/de.md) | [English](https://github.com/v-community/v_by_example/blob/master/en/README.md) | [Bahasa Indonesia](/v-by-example/id.md) | [Chinese](/v-by-example/cn.md) | [Japanese](/v-by-example/jp.md) | [Italian](https://github.com/v-community/v_by_example/blob/master/it/README.md) | [French](https://github.com/v-community/v_by_example/blob/master/fr/README.md)

> Learn V by Examples

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

* [Examples](#examples)
* [Contributing](#contributing)
* [License](#license)

Discord: <https://discord.gg/vlang>

## Section 1

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

* [Hello World](/v-by-example/en/examples/section_1/hello_world.md)
* [V Keywords](/v-by-example/en/examples/section_1/keywords.md)
* [Primitives](/v-by-example/en/examples/section_1/primitives.md)
* [Variables](/v-by-example/en/examples/section_1/variables.md)
* [Strings](/v-by-example/en/examples/section_1/strings.md)
* [Comment](/v-by-example/en/examples/section_1/comment.md)

## Section 2

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

* [Operator](/v-by-example/en/examples/section_2/operator.md)
* [If-else](https://github.com/v-community/v_by_example/blob/master/en/examples/section_2/if-else.md)
* [Match](/v-by-example/en/examples/section_2/match.md)
* [Loops](/v-by-example/en/examples/section_2/loops.md)

## Section 3

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

* [Functions](https://github.com/v-community/v_by_example/blob/master/en/examples/section_3/functions.md)
* [Arrays](https://github.com/v-community/v_by_example/blob/master/en/examples/section_3/arrays.md)
* [Struct](https://github.com/v-community/v_by_example/blob/master/en/examples/section_3/struct.md)
* [Methods](https://github.com/v-community/v_by_example/blob/master/en/examples/section_3/methods.md)

## 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](/v-by-example/en/examples/section_4/array-functions.md)
* [Testing](/v-by-example/en/examples/section_4/testing.md)
* [Files](/v-by-example/en/examples/section_4/files.md)
* [JSON](/v-by-example/en/examples/section_4/json.md)

## Team

Current list of maintainers/authors:

* [Don Alfons Nisnoni](https://github.com/dhonx)
* [Ivo-Balbaert](https://github.com/ibalbaert)
* [Sven Patrick Meier](https://github.com/SuicideS3ason)
* [Swastik Baranwal](https://github.com/Delta456)
* [Vitor Oliveira](https://github.com/vbrazo)

## Contributing

See our [CONTRIBUTING.md](/v-by-example/contributing.md) and start contributing today. We usually elect new maintainers based on contributions.

## License

[MIT](https://github.com/v-community/v_by_example/blob/master/LICENSE/README.md)
