Quantcast
Channel: Dave
Viewing all articles
Browse latest Browse all 455

Article 11

$
0
0

I use this pattern a lot, to keep things immutable but still have a default value assigned to a variable that must exist later, and make it explicit what's being done.

Is there a more Rusty way to do this and still keep things clear/readable?


Viewing all articles
Browse latest Browse all 455