Internetin koodiesimerkkien käyttö ohjelmistokehityksessä
Abstract
Tässä kandidaatintutkielmassa selvitetään kirjallisuuskatsauksella, minkälaisia etuja ja haittoja internetin koodiesimerkkien käytöstä on ohjelmistotuotannossa. Tutkielmassa käydään läpi koodiesimerkkien merkitys ohjelmointirajapintojen dokumentaatiossa, ohjelmoijille suunnatut internetin sosiaalisen median palvelut, sekä koodiesimerkkien käytön hyödyt ja haitat. Koodiesimerkit ovat lyhyitä lähdekoodilistauksia yhden tai useamman ohjelmointirajapinnan piirteen käytöstä. Ohjelmoijat hakevat ja käyttävät internetistä koodiesimerkkejä usein, ja niiden käyttö voi nopeuttaa ohjelmistokehitystä. Koodiesimerkin integrointi omaan ohjelmaan voi olla kuitenkin työlästä. Lisäksi vääränlainen koodiesimerkki voi johtaa harhaan: ohjelmoija saattaa jättää tutkimatta koodiesimerkin yksityiskohtia, ja käytetty esimerkki voi olla puutteellinen toiminnallisuuden, tietoturvan tai yksityisyyden suhteen. Koodiesimerkin käyttäminen internetistä voi myös johtaa tekijänoikeuslakien rikkomiseen.
This bachelor’s thesis has been conducted as a literature review on benefits and challenges in internet code snippet reuse in software development. The thesis clarifies code snippets’ importance in application programming interface documentation, internet’s social media services for software engineers as well as positive and negative effects of usage of code snippets. Code snippets are small listings of software source code using one or many application programming interface features. Software developers search and use internet code snippets often, as their use may speedup the development process. Integrating the code snippet to one’s own program may take effort. Also, using a wrong kind of snippet may lead astray. The developer may oversee details in the snippet and the snippet may turn out to be inadequate in functionality, security or privacy. Using a snippet from the internet may also lead to a violation of the code snippet license.
This bachelor’s thesis has been conducted as a literature review on benefits and challenges in internet code snippet reuse in software development. The thesis clarifies code snippets’ importance in application programming interface documentation, internet’s social media services for software engineers as well as positive and negative effects of usage of code snippets. Code snippets are small listings of software source code using one or many application programming interface features. Software developers search and use internet code snippets often, as their use may speedup the development process. Integrating the code snippet to one’s own program may take effort. Also, using a wrong kind of snippet may lead astray. The developer may oversee details in the snippet and the snippet may turn out to be inadequate in functionality, security or privacy. Using a snippet from the internet may also lead to a violation of the code snippet license.
Main Author
Format
Theses
Bachelor thesis
Published
2019
Subjects
The permanent address of the publication
https://urn.fi/URN:NBN:fi:jyu-201901081096Use this for linking
Language
Finnish