Are you an EPFL student looking for a semester project?
Work with us on data science and visualisation projects, and deploy your project as an app on top of Graph Search.
This lecture introduces the concept of parametric type using the example of a Form class, which contains an attribute 'category' to select code execution for each category. The class includes constructors for CIRCLE and SQUARE, a method 'affiche', and implementation details. It discusses the advantages and weaknesses of parametric types, highlighting the need for class hierarchy and inheritance to manage code efficiently.