Skip to content

Commit

Permalink
add semantic naming to variables (#472)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
nonchris and TodePond committed Nov 25, 2023
1 parent 2a3814a commit acd8f3d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,22 @@ funct App() => {
}
```

## Semantic naming

DreamBerd 3 supports semantic naming.

```java
const const sName = "Lu"!
const const iAge = 29!
const const bHappy = true!
```

**New for 2023:** You can now make globals.

```java
const const g_fScore = 4.5!
```

## Asynchronous Functions

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.
Expand Down

0 comments on commit acd8f3d

Please sign in to comment.