From 69f56412842a6d92416e49b6e29b29192cd16e4d Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 3 Jun 2022 10:37:54 +0200 Subject: [PATCH] Updated raylib syntax analysis (markdown) --- raylib-syntax-analysis.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raylib-syntax-analysis.md b/raylib-syntax-analysis.md index 8d839aa..8505975 100644 --- a/raylib-syntax-analysis.md +++ b/raylib-syntax-analysis.md @@ -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**. 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 -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: ``` ();