Replies: 1 comment
-
I think it looks at the indentation, as curly braces don't matter.
We don't need it per se, it just makes code more readable, so it's good that Dreamberd requires that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It's cool that DreamBerd e/acc supports negative indents. But what if you use positive and negative indents in the same code?
For example:
Here, the line ending with the question mark is indented negatively and is part of the
x > 100
check, but it may be interpreted as part of the top-level program.I first thought that DreamBerd e/acc looks at the curly brackets, but why do we need indentation anyway if it does?
Beta Was this translation helpful? Give feedback.
All reactions