1. A method of facilitating declaration of a class or function using a programming language that is not a class-based object-oriented programming (OOP) language, comprising: receiving a call to a function, defined using the programming language, that has a name that is a near variant of the reserved word “class”; and defining programmatically, in response to the call, a new function that: includes, if applicable, the methods and variables of a parent function designated, using a syntax that is a near variant of a corresponding class-based OOP syntax, to be a super class of the new function; and includes one or more methods, variables, or both designated, using a syntax that is a near variant of a corresponding class-based OOP syntax, to be implemented by the new function.