Domanda di colloquio di Salesforce

how would one reduce dynamic dispatch in Swift

Risposta di colloquio

Anonimo

23 mag 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.