# V by Example

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

[Brazilian Portuguese](https://v-community.gitbook.io/v-by-example/pt-br) | [Deutsch](https://v-community.gitbook.io/v-by-example/de) | [English](https://github.com/v-community/v_by_example/blob/master/en/README.md) | [Bahasa Indonesia](https://v-community.gitbook.io/v-by-example/id) | [Chinese](https://v-community.gitbook.io/v-by-example/cn) | [Japanese](https://v-community.gitbook.io/v-by-example/jp) | [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](https://v-community.gitbook.io/v-by-example/en/examples/section_1/hello_world)
* [V Keywords](https://v-community.gitbook.io/v-by-example/en/examples/section_1/keywords)
* [Primitives](https://v-community.gitbook.io/v-by-example/en/examples/section_1/primitives)
* [Variables](https://v-community.gitbook.io/v-by-example/en/examples/section_1/variables)
* [Strings](https://v-community.gitbook.io/v-by-example/en/examples/section_1/strings)
* [Comment](https://v-community.gitbook.io/v-by-example/en/examples/section_1/comment)

## Section 2

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

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

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

## 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](https://v-community.gitbook.io/v-by-example/contributing) 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)
