nus-cs2103-AY2324S2 / forum

16 stars 0 forks source link

Practice Paper 3.13 #1072

Closed chiralcentre closed 5 months ago

chiralcentre commented 5 months ago

Can I check for question 3.13, why does it imply that the Facade pattern is unlikely to be used if multiple classes are exposed to the outside? image

dillontkh commented 5 months ago

The purpose of the Facade pattern is to hide the internals of your component.

If you have multiple classes exposed to the outside, it means you're not hiding your internals, so it's unlikely you're using the Facade pattern.

chiralcentre commented 5 months ago

Thank you for the clarification!