|
|
|
|
|
by luuuzeta
1337 days ago
|
|
Interesting to see another language that uses the `loop` keyword for C-based `for` loops. The only other I know of is Raku[0]. loop(my $i; $i < 10; $i) {
say $i
}
loop {
# do something infinitely
}
[0]: https://docs.raku.org/syntax/loop |
|
However there are some differences...