diplomsko delo
Abstract
Načrtovalski vzorci pomagajo pri hitrem, kvalitetnem in stabilnem razvoju informacijskih rešitev. Nanašajo se na princip ponovne uporabe, kjer namesto konkretne programske kode ponovno uporabimo ideje.
V diplomskem delu smo analizirali katalog načrtovalskih vzorcev GoF z vidika programskega jezika Python. Za prikaz dinamičnosti in uporabnosti jezika, smo pri implementaciji izbranih vzorcev uporabili objektno usmerjeno programiranje, metaprogramiranje in knjižnico PyPattyrn. Ugotovili smo, da lahko, tudi s pomočjo modula ABC, na standardni način implementiramo katerikoli vzorec, hkrati pa zaradi narave jezika Python takšna implementacija ni vedno smiselna. Preverili smo združljivost vzorcev z jezikom Python in ugotovili, da uporaba nekaterih načrtovalskih vzorcev ni smiselna, če pri tem žrtvujemo naravo programskega jezika.
Keywords
programska oprema;načrtovanje;ponovna uporaba;načrtovalski vzorci;načrtovalski vzorec GoF;programski jezik Python;diplomske naloge;
Data
Language: |
Slovenian |
Year of publishing: |
2022 |
Typology: |
2.11 - Undergraduate Thesis |
Organization: |
UM FERI - Faculty of Electrical Engineering and Computer Science |
Publisher: |
[I. Lavrič] |
UDC: |
004.93:004.43(043.2) |
COBISS: |
130368771
|
Views: |
51 |
Downloads: |
8 |
Average score: |
0 (0 votes) |
Metadata: |
|
Other data
Secondary language: |
English |
Secondary title: |
Use of design patterns in the Python programming language |
Secondary abstract: |
Design patterns help us with fast, high-quality and stable software development. They refer to the principle of reuse, where instead of concrete program code we reuse ideas.
In the thesis we looked at the GoF catalog from the point of view of the Python programming langage. We found that we can implement any pattern with the help of the ABC module, but at the same time, due to the nature of the language, such an implementation does not always make sense. We used object-oriented programming, metaprogramming, and the PyPattyrn library to demonstrate the dynamic nature and usability of the Python language. We looked at the compatibility of patterns with the language and came to the conclusion that using a pattern does not make sense if we sacrifice the nature of the programming language for it. |
Secondary keywords: |
software;designing;reusability;design patterns;GoF;Python; |
Type (COBISS): |
Bachelor thesis/paper |
Thesis comment: |
Univ. v Mariboru, Fak. za elektrotehniko, računalništvo in informatiko, Informatika in tehnologije komuniciranja |
Pages: |
1 spletni vir (1 datoteka PDF (X, 69 f.)) |
ID: |
16250404 |