Tag: #types
Shape typing in Python
2024-04-12
Does C have generics?
C’s
_Generic
is not true generics. It requires manual implementation of concrete type cases, unlike generics that automatically generate code for any type. 2017-08-19What is the type of a constant in C?
Integers in C are
int
by default, while suffixes like L
and U
denote long
and unsigned
types. Floats are double
without a suffix. 2017-01-23A C typedef convention for complex types
A convention for expressing complex C types using
typedef
and a “reverse Polish notation” syntax to improve readability. 2016-11-24All content copyright James Fisher.