Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I keep design patterns terminologies? [closed]

When I'm implementing design patterns, should I keep terms like "strategy", "visitor", "facade" or could I fit these names to the context of my application ? What is the best practice ?

like image 784
Simon V. Avatar asked Dec 26 '22 04:12

Simon V.


1 Answers

You should fit these names to the context of the application. It will make it easier for the people reading your code. You can add the patterns in your documentation.

like image 64
Toam Avatar answered Jan 22 '23 22:01

Toam