2 ms·
Another approach to the monolith func is to have a parameter struct. This offers us: 1. Named parameters (esp useful for literal number or bool arguments) 2. O
by inlined 7y ago
Another approach to the monolith func is to have a parameter struct. This offers us:
1. Named parameters (esp useful for literal number or bool arguments)
2. Optional parameters
3. Forwards compatibility as long as new args are optional