Dasturiy ta’minot qurilmasi va evolyusiyasi” fanidan nazorat savollari


Refactoring so‘zining ma’nosini aytib bering



Download 0,75 Mb.
bet15/34
Sana24.01.2023
Hajmi0,75 Mb.
#902014
1   ...   11   12   13   14   15   16   17   18   ...   34
Bog'liq
DTQE Javoblar

Refactoring so‘zining ma’nosini aytib bering.

ENG:Refactoring is the process of restructuring code, while not changing its original functionality. The goal of refactoring is to improve internal code by making many small changes without altering the code's external behavior.
Computer programmers and software developers refactor code to improve the design, structure and implementation of software. Refactoring improves code readability and reduces complexities. Refactoring can also help software developers find bugs or vulnerabilities hidden in their software.



  1. Refactoringning qanday turlarini bilasiz.

What Techniques Can You Use To Refactor?
Refactoring is a multidimensional process that you could perform through either of these five techniques:

  • Red-Green Refactoring

  • Extract Method

  • Simplifying Methods

  • Composing Method

  • Abstraction

Here are their respective details:
1. Red-green refactoring
Red, Green, Refactoring happens to be one of the fundamental engineering patterns that facilitate Test Driven Development — or TDD in short.
2. Extract method
The Extract Method primarily seeks to improve your overall code readability by addressing complexities, providing clarifications, and regularizing the structure.
3. Simplifying methods
While the Extract Method enhances readability, Simplifying Methods are meant to simplify code. And, as the same itself suggests, this is yet another refactoring technique that offers more than one approach.
4. Composing method
Composing Method is what you turn to when you come across code functions that are a bit too long, and difficult to interpret or execute. The technique is engineered to reorganize the code by eliminating duplicates, or alternatively, breaking it down into moveable fragments.
5. Abstraction
Fifth on our list of refactoring techniques is Abstraction, which specializes in large-scale projects. It’s worth a try if you’re trying to perform refactoring on huge volumes of code.




  1. Download 0,75 Mb.

    Do'stlaringiz bilan baham:
1   ...   11   12   13   14   15   16   17   18   ...   34




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish