# Case

Camel case and snake case are conventions that govern how you name variables, functions, files, and pretty much everything else. Case conventions are not specific to Skript, but all programming languages.

Often, when naming a function or variable, you'll want to use a phrase that's multiple words. When that happens, you should use camel case or snake case. There are other methods, but these two are by far the most popular and recognised.

When you stick a bunch of words together, it can be hard to read:\
`coding is fun` -> `codingisfun`

Camel case capitalises the first letter of every word, creating "camel humps" to separate words:\
`coding is fun` -> `codingIsFun`\
(the first letter is usually left in lowercase; there's nothing to the left to separate it from)

Snake case replaces spaces with underscores, connecting the phrase into a slithery snake:\
`coding is fun` -> `coding_is_fun`

Camel case is more common than snake case because it is more compact, but they both get the job done.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://x8ight.gitbook.io/syntask/case.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
