mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-02 04:09:18 -05:00
Updated raylib syntax analysis (markdown)
@ -1,3 +1,5 @@
|
|||||||
|
**WARNING: This analysis has been made on `raylib 3.8-dev` that exposes a total of `470 functions`. Latest version of the library, `raylib 4.1-dev` exposes `+500 functions`.**
|
||||||
|
|
||||||
raylib is a simple and easy-to-use library to enjoy videogames programing... but, **what makes the library simple and easy-to-use?** For many users the first approach to the library is through its API, so, here it is a small analysis of the API from a **syntactic point of view**.
|
raylib is a simple and easy-to-use library to enjoy videogames programing... but, **what makes the library simple and easy-to-use?** For many users the first approach to the library is through its API, so, here it is a small analysis of the API from a **syntactic point of view**.
|
||||||
|
|
||||||
How are the functions structured? Which words are used? How many parameters are exposed? How intuitive is it to understand or even guess every function/structure/enum when required? Syntax is the set of rules, principles, and processes that govern the structure of sentences in a given language and defines how we understand it.
|
How are the functions structured? Which words are used? How many parameters are exposed? How intuitive is it to understand or even guess every function/structure/enum when required? Syntax is the set of rules, principles, and processes that govern the structure of sentences in a given language and defines how we understand it.
|
||||||
@ -12,8 +14,6 @@ The analysis is organized in 3 parts, one for each API element analyzed:
|
|||||||
|
|
||||||
## 1. Functions
|
## 1. Functions
|
||||||
|
|
||||||
Latest raylib version (3.8-dev) exposes a total of **470 functions**, a relatively small API for a gamedev library.
|
|
||||||
|
|
||||||
All raylib functions _try_ to follow this syntactic structure:
|
All raylib functions _try_ to follow this syntactic structure:
|
||||||
```
|
```
|
||||||
<Verb><Subject><Complement>();
|
<Verb><Subject><Complement>();
|
||||||
|
|||||||
Reference in New Issue
Block a user