tbh I am not a huge fan of exploiting extension properties this way either, but I get where people are coming from
g
gildor
04/27/2018, 2:35 AM
It’s the most clean way to define dsl with polymorphic arguments.
widthPx = 5 doesn’t look better for me
If those extension properties have limited scope, I don’t see any problems with it for dsl