Wikipedia defines reflection as follows:
In computer science, reflection is the process by which a computer
program can observe (do type introspection) and modify its own
structure and behavior at runtime.[1]
Is there any major programming language (widely used in Academia or Industry) that doesn’t support any form of reflection? All the examples I’m currently thinking of have at least limited support. But for C I’m for example not sure.
C, C++ dont have any forms of reflection. What can be done is embed debugging symbol in the executable with the compiler, and then process the symbol table from within the executable. However, this process must be implemented by the code (i.e. write code in c to break down and process the symbol table in the executable). Therefore, it isn’t inherent in the language.