docs: add notes about new languages
This commit is contained in:
parent
bed4793a94
commit
7363c164ee
1 changed files with 22 additions and 3 deletions
25
readme.md
25
readme.md
|
@ -24,14 +24,33 @@ cd random-problem
|
||||||
go test ./...
|
go test ./...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Rust:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd random-problem
|
||||||
|
cargo test
|
||||||
|
```
|
||||||
|
|
||||||
## Why Ruby?
|
## Why Ruby?
|
||||||
|
|
||||||
Solving problems in Ruby can be a lot more fun than it first appears.
|
Solving problems in Ruby can be a lot more fun than it first appears.
|
||||||
It is relatively slow language.
|
It is relatively slow language.
|
||||||
Sub-optimal C or Rust solutions will pass all tests,
|
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.
|
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.
|
||||||
|
|
Loading…
Reference in a new issue