You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-21Lines changed: 18 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1261,11 +1261,8 @@ class UserSettings {
1261
1261
```
1262
1262
**[⬆ en başa dön](#içindekiler)**
1263
1263
1264
-
### Open/Closed Principle (OCP)
1265
-
As stated by Bertrand Meyer, "software entities (classes, modules, functions,
1266
-
etc.) should be open for extension, but closed for modification." What does that
1267
-
mean though? This principle basically states that you should allow users to
1268
-
add new functionalities without changing existing code.
1264
+
### Açık/Kapalı Prensibi (OCP)
1265
+
Bertrand Meyer'in belirttiği gibi, "yazılım varlıkları (sınıflar, modüller, fonksiyonlr v.b.) ekleme yapılmaya açık olmalıdır ama değişiklik yapmaya kapalı olmalıdır." Yani? Bu prensip basitçe, kullanıcıların, yazdığın kodu değiştirmeden fonksiyonellikler(işlevsellikler) eklemesine izin vermelisin diyor. (Kısaca var olanı değiştirmelerine izin verme ama yeni özellikler ekleyebilsinler diyor)
1269
1266
1270
1267
**Kötü:**
1271
1268
```javascript
@@ -1283,30 +1280,30 @@ class NodeAdapter extends Adapter {
0 commit comments