Serious type loophole in type case statements and a possible fix
30 Oct
2020
30 Oct
'20
10:18 p.m.
It feels like they are not in the spirit of Oberon… all because of fear of missing out on performance?
For those who want to run some before/after performance comparisons - I’d be interested in hearing about the results - here is one possible implementation of the modified type case statement which eliminates all loopholes: http://github.com/andreaspirklbauer/Oberon-type-case-statement-without-looph... (to see what has changed relative to PO2013, do a diff between the first 2 commits) Implementation cost: ~15 lines (relative to PO2013)
2217
Age (days ago)
2217
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andreas Pirklbauer