What are the heuristics for information hiding under don’t extend access?

Tâm Tây

New member
What are the heuristics for information hiding under don’t extend access?
A. Don’t pass or return references to class attributes—pass or return defensive copies instead.
B. Don’t pass parameters by reference
C. Don’t make aliases
D. All of the mentioned
 

Tìm kiếm

Back
Top