4 ms·
OpenGL is a C API. This is an acceptable pattern for a language at the level of C, without such features as exceptions, multiple return values or sum types. Wh
by masklinn 14y ago
OpenGL is a C API. This is an acceptable pattern for a language at the level of C, without such features as exceptions, multiple return values or sum types.
Which is not the case of PHP, which has both multiple return values (kind-of) and exceptions, and had them long before the json* functions where added.