R
R
Rooly2016-10-28 18:58:58
Programming
Rooly, 2016-10-28 18:58:58

What is a code library?

Hello.
I rummaged through the Internet, but did not understand what a code library is (in programming).
I ask you to explain this concept to me in an accessible form.
I need this in order to understand the definition of framework

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Kirill Nesmeyanov, 2016-10-28
@ZetIndex_Ram

Well you fuck a function that turns strings into an array of words in this string. And you did it so cool that they gave you a bonus at work, and in a separate dark corner of the office they put a "Corner for Worshiping the Line Divider". Even included in the digest on Habré.
But there is one “BUT”, you were instructed to write a new project, and without this function you are like without air, well, it’s simply impossible to live, lines are divided through it, code is executed, Apple shares are bought and cats are controlled using foil caps. Well, i.e. not at all.
And you decided to drag it to another project. But I decided not with the help of Ctrl + C -> Ctrl + V, but in a cunning way, I created a whole file with the source code. So this file is the library.
PS In the course of the story, not a single cat was harmed.
PPS But then of course you published it in npm and called it a framework, but that's another story...

E
entermix, 2016-10-28
@entermix

Библиотека (программирование)

R
Rooly, 2016-10-29
@ZetIndex_Ram Автор вопроса

Великолепные ответы!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question