Libraries - Reading Assignments

  1. We need libraries in programming so that we could use code which was already written by other programmers - and not to struggle to write same thing by our own.
  2. Documentation shows exactly what the functions of the library are.
1 Like
Why do we need libraries in programming?
- depending on our needs, we need libraries so that we can re-use code other programmers has already written and verified/validated instead of building it on our own from scratch (reinventing the wheel).

What is documentation and why do we need it?
- Documentation informs others what are the contents of the library and gives the essential details how it works. Help others to easily check what the library has to offer.
1 Like
  1. We need libraries in programming so we don’t have to rewrite the same code that another programmer has already written.
  2. The documentation is a writing about each function in a library and we need it so we can see how they work and which one to use.
1 Like
  1. Why do we need libraries in programming?

Libraries help us save time when programming as it is a bit redundant to rewrite a code from scratch if said code is already written by a programmer and publicly available
2. What is documentation and why do we need it?
The documentation helps us know if the function we need is available in a library and also how to use said function after importing said library

1 Like

Reading Assignment: Libraries (Answers)

  1. So there isn’t a need to rewrite certain programming code. Time efficiency.

  2. A list of available function in the library , to better explain the code in library to be used.

1 Like

1.) Reuse code and dont waste time on things that have already been done. Better to program new things.
2.) A list of function and Information about how to use a certain product like a library. (in the context of programming)

3 Likes
  1. To save time
  2. A list of of functions or a real world example
2 Likes
  1. to save up time
  2. documentation is for us to easily understand what is the purpose of each function in the library.
3 Likes
  1. Why do we need libraries in programming?
    So we don’t need to spend time reinventing the wheel, we can just use an implementation which has already been created. Furthermore the library is likely to be more tested than any new code we write, which will reduce our bugs.
  2. What is documentation and why do we need it?
    Documentation is needed in order for developers to use libraries without getting help from the developer of the library. Documentation makes the library more accessible and leads to wider usage
2 Likes
  1. JavaScript libraries are useful to developers in that they provide functions that save the developer’s time.

  2. The relevant documentation informs the developer of the functions that are available within a library by providing a list of those available functions and possibly an example.

1 Like
  1. Why do we need libraries in programming?
    Libraries are a bunch of functions that help in a certain realm (example: Phaser javascript game library)
  2. What is documentation and why do we need it?
    The documentation explains how the library “works” and usually contains a list of all the functions in the library and the examples of how they are to be used.
2 Likes
  1. Why do we need libraries in programming? The are reusable code that other people created so we do not have to create everything from scratch.
  2. What is documentation and why do we need it? It is like directions and let us know how the libary works and how we can interact with it.
2 Likes
  1. Why do we need libraries in programming?
    It makes programming more efficient as programmers won’t have to spend time thinking or building stuff that has already been written and made public.

  2. What is documentation and why do we need it?
    If you have access to a public library it helps others to understand the possibilities and its functionality. That way it enhances proper application.

1 Like
  1. Why do we need libraries in programming?
    To not re-invent the same wheel (code) again. Use existing code which is (seems to be) proven to work correctly, etc

  2. What is documentation and why do we need it?
    Describes the code, how to use it with examples, so others like to use it without to much problems.

1 Like
  1. Why do we need libraries in programming?
    They allow us to produce more by reducing the amount of work for various development goals and tasks.

  2. What is documentation and why do we need it?
    The documentation explains how to use the library; with it, we can leverage the functionality of the library in our projects.

1 Like
  1. Why do we need libraries in programming?
    -> using library, we avoid of reinvent wheel every time.
  2. What is documentation and why do we need it?
    -> documentation is fundamental for know all functionality and power of the library, is a manual
    of instruction
1 Like
1

So we don’t waste our time programming code that someone else has already written

2

Documentation should have list of functions explaining them or a real-world example so we know how to use the library

1 Like
  1. to use once or more the existing functionalities available from the one library without writing down the code from scratch, and avoid the code complexity
  2. Documentation describes the functionality of the code or libraries. We need it to understand how to use certain functions
1 Like
  1. Why do we need libraries in programming?
    To safe time in development by using code that already exists.
  2. What is documentation and why do we need it?
    Documentation describes how a library works and how we can implement it in our project.
2 Likes
  1. Why do we need libraries in programming?

We need to use libraries so that we dont have to code functions from scratch every single time.

  1. What is documentation and why do we need it?

Documentation documents a list of functions we need it to understand what the functions in the library do. Library is just a set of functions.

2 Likes