docs: add notes about new languages

This commit is contained in:
Ivan R. 2024-02-12 10:27:41 +05:00
parent bed4793a94
commit 7363c164ee
Signed by: lumin
GPG key ID: 927D3132247BDE4E

View file

@ -24,14 +24,33 @@ cd random-problem
go test ./...
```
Rust:
```bash
cd random-problem
cargo test
```
## Why Ruby?
Solving problems in Ruby can be a lot more fun than it first appears.
It is relatively slow language.
Sub-optimal C or Rust solutions will pass all tests,
but Ruby or Python solutions will not be able to meet the time limit.
but Ruby solutions will not be able to meet the time limit.
This forces us to look for optimized algorithms.
## Why Go?
The same can be said about Python.
Go is used when stronger typing is required. This helps not to violate the conditions of the task.
## Why Go / Rust?
These languages are used when stronger typing is required. This helps not to violate the conditions of the task.
Or sometimes just for fun.
## Kotlin?
I decided to learn it during the Advent of Code 2023.
## C++
C++ is used when I have no other suitable options for competitive programming.