3 ms·
Because all uses of xml are wrong by default? Something like: <myevent> <int/> <timestamp/> <string/> </myevent> Will codegen to a function like myevent_fire(
by jjaredsimpson 10y ago
Because all uses of xml are wrong by default?
Something like:
<myevent>
<int/>
<timestamp/>
<string/>
</myevent>
Will codegen to a function like myevent_fire(int,timestamp,string).
Why is this bad? You separate the definition of event classes from their use sites and have correctness by default.