Libraries - Reading Assignment

[spoiler]
From a methodological standpoint, libraries restrict the developer. They force you to do certain things in certain ways, providing a common ground for a single developer across her projects, as well as individual developers across a team.

From a utilitarian standpoint, libraries save time for the developer. JavaScript offers very few built-in utilities that are common in other languages, like sets, collections, or assertions. Some libraries address this problem. Other libraries simplify DOM operations, browser detection, etc. The point is that on the long run using a lib saves a lot more time than what is required to get familiar with them.

Then, from an architectural standpoint, libraries may give structure to an application . Now, this point does not apply to all libraries, and it may also be viewed as a subset of the methodological argument, but it’s important enough to be highlighted separately. Certain libraries, and frameworks especially, tend to dictate a structure for your code. In a time when sustainable growth for an (front-end) application is vital, namespaces, classes, promises etc. make sure that tens or hundreds of thousands of lines of code remain managable.
[/spoiler]

1 Like

A JS library allows a programmer to save time by re-using exisitng code that was previously written by another programmer.

1 Like
  1. When it comes to coding we need libraries because we need to reuse code that already exists. Otherwise we would be trying to solve problems that have already been solved every time we are trying to create something.
1 Like
  1. We need Libraries so that we don’t have to waste time creating a program that has been written before.
1 Like

In these libraries we can find codes that has been written for different functions. If we have a code for a function we need, then we do not need to write code again, but rather we can just use the code from the library.

1 Like

Os desenvolvedores precisam de livrarias para otimizar o trabalho. Livrarias são uma forma de trazer código externo com funçÔes prontas, isso reduz o tempo necessårio para desenvolvimento de um código e faz com que o programador possa focar somente nas implementaçÔes cruciais de um projeto.

Developers need libraries to optimize their work. Libraries are a way to bring external code with ready-made functions, it reduces the time needed to develop a code and makes the programmer able to focus only on the crucial implementations of a project.

1 Like
  1. Libraries can remove the need to write a function or program that has already been made. Certain generic pieces of code (often housed in Libraries) can be incorporated into a new program in order to save time and effort.
1 Like
  1. Why do we need libraries?
    A library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for our webpages, that allows us to use code already build for a specific purpose. It can save substantial amount of time using a library vs. coding something ourselves, and can promote standardization re-use of specific needs of a project.
1 Like
  1. Libraries allow us to use code that has already been created to perform some useful function. Instead of re-inventing code from scratch.
1 Like
  1. Why do we need libraries?

Libraries allow web page makers to re-use script that has already been written. No need to re-invent the wheel.

1 Like
  1. Why do we need libraries?

We need them so we can re-use code.
A JS library is a file with a collection of functions and objects that are available freely for us to use when we want to program something.
As writing code from scratch can take a long time, we use the JS library to save time and to be more productive concentrating our effort on designing our project.

1 Like
Why do we need libraries?
  • It allows us to re-use code that has already been written (usually by someone else)
  • Saves time as we don’t need to “reinvent the wheel”
  • The popular libraries have been reviewed by many people in the community making them less prone to bugs and security vulnerabilities
  • Often makes the code cleaner, more compact, easier to read and understand
2 Likes

Why do we need libraries?

We need libraries to save time when coding by reusing codes already created by other people.

1 Like

1. Why do we need libraries Libraries are useful because it allows programmers to use code that has already been developed by another programmer, thereby saving them a lot of time.

1 Like

They allow the reuse of code other developers have created and shared. This enables developers to spend more time on creating new solutions, rather than reinventing the wheel for once which have already been solved.

1 Like
  1. Using libraries allows us to use code that other people have developed so that we don’t have to continually ‘re-invent the wheel’. Libraries have elegant ways to implement common features.
1 Like
  1. We can re-use existing code so that we don’t waste our time writing code that another programmer has already written.
1 Like

The most likely reason is that by using a library you will be re using existing code, so you don’t have to code it and safe a lot of time. These various libraries provide pre-written JavaScript code which makes common or complex tasks easy to do.

1 Like

We need libraries to accomplish work more effectively. You don’t want to start from scratch each time you try to build something new. Not using a library would be like deciding that in order to drive a car, you must extract and refine your own crude oil into gasoline. Without building off of the work of others, a modern economy would not exist. We need to leverage the thousands of years of combined work and experience that is available through libraries in order to get anything meaningful done in a development context.

1 Like

To not re-invent the wheel and to help developers to spend more time on the more important aspects.

1 Like