3 ms·
According to the docs (https://dragon-lang.org/documentation#loops https://dragon-lang.org/documentation#loops), loops may but do not have to use curly brackets
by selectnull 4y ago
According to the docs (https://dragon-lang.org/documentation#loops https://dragon-lang.org/documentation#loops), loops may but do not have to use curly brackets around the body (it would seem they use C-style and Lua-style interchangeably).
I can't imagine the reason why would a language designer make this choice, but I would love to hear about it.