3 ms·
This.It is already happening. For example, for annotations in some PHP frameworks. The annotations are created as comments in some specified format and then the
by mr__y 7y ago
This.It is already happening. For example, for annotations in some PHP frameworks. The annotations are created as comments in some specified format and then the framework uses reflection to read and parse those comments. Some IDEs can also parse those comments making it somewhat similar to what GP suggested although in a very primitive and simplified form