1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
s344n2d4d5 [400]
3 years ago
13

What are some principles of Programming?​

Computers and Technology
1 answer:
adelina 88 [10]3 years ago
8 0

Answer:

1: Don't repeat yourself (DRY).

2: Keep it simple (KISS)

3. Minimize Coupling

4. Maximize Cohesion

5. Hide Implementation Details

6. Law of Demeter

7: Open/Closed Principle

Explanation:

1. Avoiding repetition is probably the single most fundamental tenet in programming.

2. Simplicity should always be a key goal. Simple code takes less time to write, has fewer bugs, and is easier to modify.

3. Any section of code (code block, function, class, etc.) should minimize the dependencies on other areas of code. This is achieved by using shared variables as little as possible.

4. Code that has similar functionality should be found within the same component.

5. Hiding implementation details allows change to the implementation of a code component while minimally affecting any other modules that use the component.

6. Code components should only communicate with their direct relations (e.g. classes that they inherit from, objects that they contain, objects passed by argument, etc.)

7. Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification. In other words, it is not recommended to write classes that people can modify, write classes that people can extend.

I hope this helps and I'm sorry if it doesn't.

Have a great day! :)

You might be interested in
Alexis received paychecks from both her jobs and she would like to deposit them. One check is for $62.88 and the other is $523.2
Karolina [17]

Answer:

something :}

Explanation:

have a good day

8 0
3 years ago
Document templates are available online.<br> True<br> False
k0ka [10]
True anything is available online.
6 0
3 years ago
Read 2 more answers
18. Which type of briefing is delivered to individual resources or crews who are assigned to operational tasks and/or work at or
GrogVix [38]

Answer: Field-level briefing

Explanation: Field-level briefing is the brief description that is provided to the crew members or operation task holders.This briefing contains the information about the work and operation that are to be followed by the workers on the site .

Field level briefing is sort of instructions to individual or group of people who will be working with their assigned duties on the incident site.

8 0
3 years ago
An image is 160x 42 what is this a measure of?
mixas84 [53]
This would be a measure of Resolution. Image size is the general version of Resolution as Resolution is the measurement use FOR image size.
8 0
3 years ago
The author of ""Cyber-psychopathy: What Goes On in a Hacker’s Head"" claims that the act of hacking is a deep-seated psychologic
lisov135 [29]

Answer:

Explanation:

Based on the information provided within the question it can be said that the text that supports this is that in the book it states that this disorder is due to an obvious "addiction" to the sheer thrill of hacking, born of having found ways around the supposed ingenuity of "invulnerable" cyber security defences.

5 0
3 years ago
Read 2 more answers
Other questions:
  • You have received several trouble tickets from the employees in the warehouse for the stand-alone computers used to control vari
    14·1 answer
  • WILL DO A BRIANLY! Use an algorithm to help the Python Turtle get to the finish line in 10 steps by using only the 3 commands be
    12·1 answer
  • Betrand Meyer developed the ______ programming language which is not type-safe because it violates the law of contravariance.
    9·1 answer
  • What is a system unit
    7·1 answer
  • What simple machine is most often used to lift the blinds on a window?
    8·2 answers
  • The Department Manager researches new data platforms for the company and requests a list of essential features. Which essential
    6·1 answer
  • Write a program that accepts two numbers R and H, from Command Argument List (feed to the main method). R is the radius of the w
    11·1 answer
  • c++ 4.17 LAB: Count characters Write a program whose input is a character and a string, and whose output indicates the number of
    14·1 answer
  • What type of task can be defined to allow you fine-grained control over the management tasks a user can perform in an OU
    14·1 answer
  • I will give brainyest
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!