GulfOfMexico icon indicating copy to clipboard operation
GulfOfMexico copied to clipboard

To please python devs and other devs

Open ktlknss opened this issue 2 years ago • 4 comments

Instead of using { use : but still use } to close ex:

// Wrong
if (true) {
  print("Hello World")
}

// Correct
if (true):
  print("Hello World")
}
(Indentation will not matter)

This will make it easier for python devs to learn DreamBerd and keep it similar to other languages for smart devs

ktlknss avatar Sep 23 '23 06:09 ktlknss

Python does support brackets like that, so this is probably a nonissue.

mybearworld avatar Sep 23 '23 20:09 mybearworld

damn thats crazy but it looks funnier

ktlknss avatar Sep 24 '23 00:09 ktlknss

LGTM

ckhawks avatar Sep 25 '23 16:09 ckhawks

Sorry about the mistake i wrote

(Indentation will not matter)

but DB takes indentation very seriously

ktlknss avatar Nov 23 '24 09:11 ktlknss