MarkOates / blast

0 stars 0 forks source link

Improve methods with references as arguments in quintessence #50

Open MarkOates opened 3 months ago

MarkOates commented 3 months ago

As a design strategy, all function arguments have default values. Because of that, adding references gets a little clumsy. Generally, it's advised to avoid references in this way, however there are a couple workarounds:

This topic could use a little more attention, for example quintessence could be modified to explicitly declare an argument without a default value. As is, the workarounds don't feel like the elegant final factoring of this feature.