subject

According to programming best practices, how should you handle code that needs to be repeated several times in a program? A. Copy the code as many times as needed so that each usage is separate.

B. Have the code appear only once in the program and reference it when it is needed.

C. Store the code on a website and reference the website when it is needed.

D. Store the code only in a code library, not in the actual app's code.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
Program description: a c# app is to be created to produce morse code. the morse code assigns a series of dots and dashes to each letter of the alphabet, each digit, and a few special characters (such as period, comma, colon, and semicolon). in sound-oriented systems, the dot represents a short sound and the dash represents a long sound. separation between words is indicated by a space, or, quite simply, the absence of a dot or dash. in a sound-oriented system, a space is indicated by a short period of time during which no sound is transmitted. the international version of the morse code is stored in the data file morse.txt.
Answers: 3
question
Computers and Technology, 22.06.2019 11:30
Hassan is writing his master’s thesis, which is a thirty-page document. he received some feedback from his professor in the form of comments, but does not see where the comments are. what is the fastest way for hassan to find the feedback?
Answers: 3
question
Computers and Technology, 22.06.2019 12:00
Which of the following does 3d animation create an illusion of on the screen? a. depth b. emotion c. length d. dialogue
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Now, open this passage to read about fafsa requirements. describe the information you will need to provide in order to complete a fafsa. list at least three of the required documents you must include.
Answers: 3
You know the right answer?
According to programming best practices, how should you handle code that needs to be repeated severa...
Questions
question
Mathematics, 15.01.2021 01:50
question
Mathematics, 15.01.2021 01:50
question
English, 15.01.2021 01:50
Questions on the website: 13722363