Salesforce interview question

how would one reduce dynamic dispatch in Swift

Interview Answer

Anonymous

23 May 2016

use “private” and/or “final” when declaring a function, which means time doesn’t have be wasted trying to figure out which function in which subclass is going to be used.