3 ms·
Have you considered that the whole destructors with multiple arguments thing is more elegantly done with just making the zero argument destructor private and ha
by 3836293648 2y ago
Have you considered that the whole destructors with multiple arguments thing is more elegantly done with just making the zero argument destructor private and having a wrapper function in the proper module as the only way of accessing it.
Based more on the linked podcast than the current article
- verdagon 2y agoYou're exactly right, and that's kind of what Vale's `destruct` is, if you squint.