Join Slack
Powered by
are delegates a bad practice if they break encapsu...
# announcements
a
Andrew Gazelka
03/03/2019, 7:15 PM
are delegates a bad practice if they break encapsulation by requiring a public API?
k
karelpeeters
03/04/2019, 12:53 PM
How would it break encapsulation?
a
Andrew Gazelka
03/05/2019, 1:28 PM
if you have a `by delegateFun()`the function has to have access to public variables which should instead be encapsulated and only accessible by
delegateFun()
@karelpeeters
3
Views
Open in Slack
Previous
Next