Some languages start arrays at
0
, which can be unintuitive for beginners. Some languages start arrays at1
, which isn’t representative of how the code actually works. DreamBerd does the best of both worlds: Arrays start at-1
.
Booleans can be
true
,false
ormaybe
.
DreamBerd has significant whitespace. Use spacing to specify the order of arithmetic operations.
print(1 + 2*3)! //7
print(1+2 * 3)! //9