Libraries - Reading Assignments

#1

Welcome to this assignment. Please answer the following questions from the lecture. Feel free to ask questions here as well if you need the help.

  1. Why do we need libraries in programming?
  2. What is documentation and why do we need it?
1 Like

#2
  1. Libraries are per written functions which some other programmer has written.
  2. The documentation contains a list of all the functions in the library and the examples of how they are to be used.
0 Likes

#3
  1. A library is a stand alone group of coded functions that can be referenced and reused without having to recode the same functions repetitively. aka do not recreate the wheel… just use it and build upon it.

  2. Documentation is extremely important to describe how to use the functions, and expected input/output within the library.

0 Likes

#4
  1. Why do we need libraries in programming?
    Because we would to reuse the code prepared by other programmers to save time.
  2. What is documentation and why do we need it?
    Documentation is the file describing how to use the library with example.
    We use the documentation when we face a new library and the coding inside is so long that it is impossible to go through every sections.
0 Likes

#5
  1. Why do we need libraries in programming?
    They allow us to share and build upon previous work. This saves time, effort, and a need to know.

  2. What is documentation and why do we need it?
    Documentation allows anyone to understand the functions created within the library and how to use them properly.

0 Likes

#6

Library’s - used to stop “reinventing the wheel” Holds code to be reused.
Documentation - essential to guide others on how to use your code or functions

0 Likes

#7
  1. Why do we need libraries in programming?
    (On top of my head, I use libs daily)
  • To stop reinventing the wheel
    therefore get to production faster. Enables sharing of the code too for functionality that
  1. What is documentation and why do we need it?
  • We need a way to know how to use the library without having to know how the underlying code works, the application program interface
0 Likes

#8
  1. Why do we need libraries in programming?
    To save time by taking advantage of code that is already written and proven out.
  2. What is documentation and why do we need it?
    Documentation is a set of explainations and instructions that help a programmer know what the code does and how to use it.
0 Likes

#9
  1. Why do we need libraries in programming?
    To save time. It’s a waste of time to program things that another programmer allready programmed. It is better to reuse that code and you can do that by integrating the library that contains that code.

  2. What is documentation and why do we need it?
    Documentation is needed to know how to use the library. It describes how objects within the library should be used

0 Likes

#10
  1. Why do we need libraries in programming?
    So you do not have to recreate the wheel each time you need to perform an action within your program. Libraries allow you to reuse code others have already written.

  2. What is documentation and why do we need it?
    Documentation tells the programmer how to use the library, as well as all of the functions of the library that they are implementing.

0 Likes