sumUsingClosure
10 Tips to become a better Swift Developer
Bob Lee
1.93K43

I don’t really understand the difference here. You’re just not assigning the value to a new result variable. `sumUsingClosure(5, 6)` has the same value as `sum(5, 6)`, or am I missing something here?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.