Skip to content

Commit acd8f3d

Browse files
nonchrisTodePond
andauthored
add semantic naming to variables (#472)
* add semantic naming to variables * Update README.md change examples and shorten description of semantic naming * update hungarian case and one example more * Update README.md --------- Co-authored-by: Lu Wilson <l2wilson94@gmail.com>
1 parent 2a3814a commit acd8f3d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,22 @@ funct App() => {
623623
}
624624
```
625625

626+
## Semantic naming
627+
628+
DreamBerd 3 supports semantic naming.
629+
630+
```java
631+
const const sName = "Lu"!
632+
const const iAge = 29!
633+
const const bHappy = true!
634+
```
635+
636+
**New for 2023:** You can now make globals.
637+
638+
```java
639+
const const g_fScore = 4.5!
640+
```
641+
626642
## Asynchronous Functions
627643

628644
In most languages, it's hard to get asynchronous functions to synchronise with each other. In DreamBerd 3, it's easy: Asynchronous functions take turns running lines of code.

0 commit comments

Comments
 (0)