While the names of coding paradigms vary, most experts agree on four types of code: imperative, functional, logical, and object-oriented.