Swift Custom Operator — The Rule of 3
A throwback to Elementary Math Classes 🤓
Example usage of the Rule of Three Operation. Calculates (10 * 0.8) / 0.4
I always had this idea of creating something like this in a language, since it is probably the most overused math operation in every...
nunovieira.hashnode.dev5 min read