A generalized version of method of moments (MoM) has emerged as a significant technique for building an object-oriented programming-based (OOP) software framework for computational electromagnetics (CEM). Four key concepts of OOP, such as abstraction, encapsulation, inheritance, and polymorphism can be applied to develop a unified modeling framework for CEM. Abstraction is one of the key steps that enables hardware and software design engineers, to have a clear view of the functionality of the system to be implemented. Encapsulation is the process of grouping data structures and methods together, to form software units that are known as objects. Abstraction and encapsulation can also be done easily with non-object-oriented languages, such as C and FORTRAN. Inheritance and polymorphism are the other two features of OOP that can be performed through a set of programming rules, using non-object-oriented languages.