# Programming Case Types

| Case Type                | example                  |
| ------------------------ | ------------------------ |
| camelCase                | programmingCaseTypes     |
| snake\_case              | programming\_case\_types |
| UPPER\_CASE\_SNAKE\_CASE | PROGRAMMING\_CASE\_TYPES |
| kebab-case               | programming-case-types   |
| PascalCase               | ProgrammingCaseTypes     |

## PHP(PSR-1 Standard)

```
Pascal case for classes name.
Upper case snake case for class constants name.
Camel case for methods name.
**No convention** for class properties name.
```

## Javascript

```
Camel case for variables and methods.
Pascal case for types and classes in JavaScript.
Upper case snake case for constants.
```

## React

```
Pascal case is used for component names and file names in React.
```

## Ruby

```
Pascal case is used for classes and modules in Ruby.
Snake case for symbols, methods and variables.
Upper case snake case for constants.
```

## Python

```
Snake case for method names and instance variables (PEP8).
Upper case snake case for constants.
```

## ETC

* kebab-case for HTTP URLs
* snake\_case for JSON Property


---

# 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://laravel.palgle.com/knowledge-acquisition/programming-case-types.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.
