Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ If you're unsure, that's ok. You can put a question mark at the end of a line in
print("Hello world")?
```

You might be wondering what Gulf of Mexico uses for the 'not' operator, which is an exclamation mark in most other languages. That's simple - the 'not' operator is a semi-colon instead.
You might be wondering what Gulf of Mexico uses for the 'not' operator, which is an exclamation mark in most other languages. That's simple - the 'not' operator is a semi-colon instead, or alternatively, the suffix `n't`.

```java
if (;false) {
if (;false || falsen't) {
print("Hello world")!
}
```
Expand Down Expand Up @@ -89,7 +89,7 @@ const const const pi = 3.14!

## Naming

Both variables and constants can be named with any Unicode character or string.
Both variables and constants can be named with any Unicode character or string, but they can't end with `n't` or `n` because that would conflict with the highly intuitive 'not' operator.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should be reverted. A variable can be named 4 too to overwrite 4, so const const falsen't = false should work as well.


```java
const const letter = 'A'!
Expand Down