|
|
|
|
|
by chrismorgan
3180 days ago
|
|
Yeah, that was the closest I could think of. But in Python you’d use keyword arguments, and in JavaScript you’d use objects with named fields in lieu of that, and in Rust you’d commonly try to use struct fields or custom enums for such things (I still want named arguments there). The extreme in your case would be `hasMagicTargeting = false` and then pass `hasMagicTargeting` instead of `false`. |
|