Libraries - Reading Assignment


#41

1. We need libraries as to not waste our time writing code that has already been written by someone else.


#42

We need libraries so we don’t have to rewrite or recreate code that’s already been created.


#43

libraries are helpful because in many cases we dont need to write a new code but we can use functionalities from the library.


#44

We need libraries because it enables us to return numerous functions from a file to shorten the task or rewriting code that serve the same purpose. In doing so, libraries enable us to reuse them on any webpage at any time.


#45

To stand on the shoulder of giants, while being able to move on to more productive tasks.


#46

Libraries enable us to make use of certain functions that have already been built so that we dont have to create them on our own. For example if we want to display the current date and time on your website, we could spend hours and hours to program our own calendar or we could just use a library with an already existing calendar app which is most likely to be better than the one we could create, anyway.


#47

A library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for your webpage.


#48

Why do we need libraries?

  • why “reinvent the wheel” when you can use building blocks that are already created and tested
  • you don’t have to solve problems that have already been solved
  • faster development and more standardized functionality

#49

1 - Plain and simple: Libraries exist so that we don’t have to re-invent the wheel every time we write code.
If you are re-wiring your house you won’t mine your own copper, grind it and process it make your own wires.
If you are building a new computer you won’t manufacture your own CPU and motherboard in your garage. You will use parts that somebody else has built. Libraries (kind of) work the same way.


#50

As programmers, we should re-use existing code when we can, so that we don’t waste our time writing code that another programmer has already written. In JavaScript, the way we do that is by using a library. A library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for your webpage.


#51
  1. Libraries are functions that are publicly available to be linked into a webpage. It’s code written for common scenarios (e.g. running a slideshow on a page) so a developer can use the library instead of writing the code from scratch.

#52

1. Why do we need libraries?

We need libraries so we can re-use the same code, so we don’t waste our time writing new code.


#53
  1. Why do we need libraries?
    To save us time, because time is valuable.

#54

Why do we need libraries?

To save time, gain efficiency, and reduce risk! Think of them as ready to go Lego blocks you can plug into your projects versus having to craft everything from scratch. It is also nice to have many sets of eyes looking for defects and vulnerabilities on chucks of your project!


#55

to use already constructed code (function, objects) in order to save resources and increase efficiency.


#56

We use libraries so we can re=use the code some other developers have a;ready written, so that we don’ t need to re=write the code, thus it gives us more time to focus on our project.


#57
  1. We need them so that we can reuse other people code and to organize our code better.

#58

Libaries are used by programmers to practice efficiency. By using or ‘borrowing’ code that someone else has already written and is generously sharing, programmers will save an immense amount of time and effort.


#59

We can build upon and use the code someone else has already written


#60
  1. Why do we need libraries?

Libraries allow us to reuse code.

Writing code is a time intensive process; when a language has the support of reusing pre-written, pre-tested code, it makes the life of a developer really easy.

Also it’s easier to maintain the code which includes usage of popular public libraries.