Modules | |
Programming Paradigms and Semantics | |
Nuklei's code follows two distinct programming paradigms. Parts of Nuklei are written in generic C++, while other parts are written in object-oriented/polymorphic C++. Generic code (i.e., templates) is flexible and fast (static binding, allows for inlining). Unfortunately, generic code can quickly become obscure. Generic programming also restricts the range of programmers who will be comfortable with the code. | |
Type Queries | |
Functions defined in Types.h facilitate the (de)serialization of enum labels, here refered to as types. This is useful, e.g., when reading/writing the type of an object to a file. | |