DEV Community

asilbekbakhrom
asilbekbakhrom

Posted on • Edited on

3 2

SOLID

Image description
SOLID besh qisimdan iborat:
S - Yagona javobgarlik printsipi
O - Ochish-yopish printsipi
L - Liskov almashtirish printsipi
I - Interfeysni ajratish printsipi
D - Bog'liqlik inversiyasi printsipi

Image description

S

"Class faqat bitta ma'suliyatga ega bo'lishi kerak."

Image description

O

"Dastur ob'ektlari kengaytirish uchun ochiq, lekin o'zgartirish uchun yopiq bo'lishi kerak"

Image description

L

"Liskov almashtirish printsipi ota class ob'ektlari dasturni buzmasdan uning bola class ob'ektlari bilan almashtirilishi kerakligini aytadi."

Image description

I

"Ko'pgina mijozga xos interfeyslar bitta umumiy maqsadli interfeysdan yaxshiroqdir."

Image description

D

"Classlar classdan emas abstrakt class yoki interface bilan ulash kerak"

Image description

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay