ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

SOLID Principles යනු මොනවාද? - SOLID Principles in Sinhala

Автор: HexCoder

Загружено: 2022-07-31

Просмотров: 21544

Описание: Buy us a coffee: https://www.buymeacoffee.com/hexcoder
Support us on Patreon:   / hexcoder  

මේ වීඩියෝ එකෙන් අපි කතා කරන්නේ SOLID Principles ගැන. මේවා භාවිතා කරමින් වඩා හොඳින් මෘදුකාංග නිර්මාණය කරන්න පුළුවන්‍.

SOLID Principles සාරාංශය

S - Single Responsibility
O - Open/Close Principal
L - Liskov Substitution
I - Interface Segregation
D - Dependency Inversion

S - Single Responsibility
Module එකකට, Class එකකට හෝ Function එකකට තිබිය යුත්තේ එක් කාර්ය්‍යක් පමණි. එසේ නැතිනම් එය තවත් කුඩා ඒකක වලට වෙන් කල යුතුය.

O - Open/Close Principal
Module එකක් හෝ class එකක් වෙනස් කිරීම් වලට සංවෘත (closed) විය යුතු අතර දිගු (extend) කිරීමට විවෘත (open) විය යුතුය. එනම් හැකිතාක් class එකක ඇති දෑ වෙනස් නොකර අලුත් features එක් කිරීමට හැකි විය යුතුය. ඒ සඳහා බොහෝ විට Object Oriented Programming වලදී මුණ ගැහෙන Inheritance සංකල්පය සහ Dependency Injection නම් concept එක භාවිතා කල හැක.

L - Liskov Substitution
Sub class එකකින් සාදන ලද object එකක් කිසිම functionality එකක් බිඳ විටීමකින් තොරව Super class එකකින් සාදන object එකකින් replace කල හැකි විය යුතුය. එනම් සෑම sub class එකක්ම එහි super class එක මෙන්ම භාවිතා කල හැකි විය යුතුය.

I - Interface Segregation
කිසිම code එකක් අනවශ්‍ය methods මත රඳා නොපැවතිය යුතුයි. එනම්, යම් කෙනෙක් අපගේ class එකක් භාවිතා කරන්නේ නම් ඔවුන්ට අවශ්‍ය methods පමණක් override කර භාවිතා කල හැකි විය යුතුය. ඔටුන්ට අනවශ්‍ය methods override හෝ භාවිතා කිරීමට බල නොකල යුතුය. ඔවුන් දැන ගත යුත්තේ ඔවුන්ගේ කාර්ය්‍ය කර ගැනීමට අවශ්‍ය දේ පමණි.

D - Dependency Inversion
Low level modules මත High level modules රඳා නොපැවතිය යුතුය. ඒවා Abstraction මත පමණක් රඳා පැවතිය යුතුය. එනම් high level modules තුල low level modules කිසිවක් import නොකල යුතුයි. අවශ්‍ය නම් interface එකක් භාවිතයෙන් ඒවාට access ලබා දිය යුතුය.

මේවා හුදෙක් කට පාඩම් කල යුතු සංකල්ප පමණක් නොවේ. මාගේ මුලු අවුරුදු 7කට වැඩි අත්දැකීම් වලට අනුව, නිවැරදිව system එකක් design කිරීමට මේවා ඉතාමත් වැදගත්. ඒ නිසා හැකි තාක් මේවා අපගේ projects වල ප්‍රායෝගිකව භාවිතා කිරීමට උත්සාහ කල යුතුය.

Examples in the video: https://drive.google.com/file/d/1qUfb...

SOLID Principles: https://gnomezgrave.com/2017/11/12/so...

Python Course:    • 1.0 Welcome | Python in Sinhala  

Join this channel to get access to the perks:
   / @hexcoder  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

🔥Subscribe to my channel for more videos like this.
   / @hexcoder  

📸 Follow me on Instagram:   / hecxoder_  
📸 Follow on Facebook:   / hexcoder  
🌐 Visit my website for more updates: https://hexcoder.tech

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
SOLID Principles යනු මොනවාද? - SOLID Principles in Sinhala

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

ඔයාගේ code එකත් ගඳයි ද? - Code Smells (in Sinhala)

ඔයාගේ code එකත් ගඳයි ද? - Code Smells (in Sinhala)

Concepts

Concepts

Binary Search || Leetcode 704 || Java

Binary Search || Leetcode 704 || Java

Data Security - Part 1 - Hashing functions ගැන සරලව - Hashing Functions [Sinhala]

Data Security - Part 1 - Hashing functions ගැන සරලව - Hashing Functions [Sinhala]

Solid Principles | Object Oriented Programming | SLIIT | Lecture 7

Solid Principles | Object Oriented Programming | SLIIT | Lecture 7

2026 LAPTOP එකක් ගන්න කලින් බලන්නම ඕන දේවල් | Things to consider before buying a 2026 LAPTOP

2026 LAPTOP එකක් ගන්න කලින් බලන්නම ඕන දේවල් | Things to consider before buying a 2026 LAPTOP

කාලතරණය කළහැකි කුණ්ඩලිනී ශක්තිය - Superpowers with Kundalini Chakra Meditation - Manasgatha ep 73

කාලතරණය කළහැකි කුණ්ඩලිනී ශක්තිය - Superpowers with Kundalini Chakra Meditation - Manasgatha ep 73

SOLID Principles Explained in Sinhala - SOLID Principles සරලව

SOLID Principles Explained in Sinhala - SOLID Principles සරලව

මොකද්ද මේ Clean Architecture? - Clean Architecture in depth with examples [Sinhala]

මොකද්ද මේ Clean Architecture? - Clean Architecture in depth with examples [Sinhala]

වැඩපෙන්වූ දිගුදුර මෙහෙයුම් කණ්ඩායමේ ලලිත් ජයසිංහගේ සමීපතයා වස්කෝ කියන කතාව | WANESA TV

වැඩපෙන්වූ දිගුදුර මෙහෙයුම් කණ්ඩායමේ ලලිත් ජයසිංහගේ සමීපතයා වස්කෝ කියන කතාව | WANESA TV

System Design වලට අනිවාර්යෙන් ඕනේ concepts - System Design Part 1 (Sinhala)

System Design වලට අනිවාර්යෙන් ඕනේ concepts - System Design Part 1 (Sinhala)

LinkedIn Profile එකක් හරියට maintain කරන හැටි - How to maintain a LinkedIn Profile

LinkedIn Profile එකක් හරියට maintain කරන හැටි - How to maintain a LinkedIn Profile

SOLID  Principal - Interview Questions and Answers

SOLID Principal - Interview Questions and Answers

Python expert කෙනෙක් වෙන්නේ මෙහෙමයි - Python Learning Path in Sinhala

Python expert කෙනෙක් වෙන්නේ මෙහෙමයි - Python Learning Path in Sinhala

SOLID Principles සිංහලෙන් හැදින්වීම - Introduction to SOLID Principles in Sinhala

SOLID Principles සිංහලෙන් හැදින්වීම - Introduction to SOLID Principles in Sinhala

Candidate හොඳටම perform කරපු Software Engineer Live Interview එකක් බලමු

Candidate හොඳටම perform කරපු Software Engineer Live Interview එකක් බලමු

Принципы проектирования SOLID с примерами Java | Чистый код и лучшие практики | Geekific

Принципы проектирования SOLID с примерами Java | Чистый код и лучшие практики | Geekific

How to Face JOB Interviews | ඉංග්‍රීසි බැරි වුණත් Job Interview  එකට මෙහෙම  face කරන්න| #motivation

How to Face JOB Interviews | ඉංග්‍රීසි බැරි වුණත් Job Interview එකට මෙහෙම face කරන්න| #motivation

КАК УСТРОЕН TCP/IP?

КАК УСТРОЕН TCP/IP?

Factory Design Pattern | සිංහලෙන්

Factory Design Pattern | සිංහලෙන්

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]