Update 'Guidelines'

Sasha Koshka 2022-09-29 05:21:23 +00:00
parent b0c9ade0c1
commit 537519ccc5

@ -24,7 +24,7 @@ We can't have anything like a garbage collector, because that violates guideline
When looking at any part of ARF syntax, it should be abundantly clear what it means. A good rule of thumb is if its hard for the parser to reason about it, its hard for the user to reason about it too. Syntax should be thematically cohesive, but asymmetrical. Conceptually different things should *look* different.
# 7. One line at a Time
You've probably seen some gross java code that flies off the right side of the screen before. We are here to avoid that. The language's syntax should encourage writing code that flows vertically and not horizontally, with minimal nesting.
You've probably seen some gross java code that flies off the right side of the screen before. We are here to avoid that. The language's syntax should encourage writing code that spreads vertically and not horizontally, with minimal nesting.
# 8. Compile to Object Files
Each ARF module will compile to it's own object file. This method has its own strengths and weaknesses—and the language should be designed and implemented accordingly.