What is programming principle is violated when using named arguments and why is this important?

What will be an ideal response?


A disadvantage to using named arguments is that the calling method becomes linked to details within the method. This means that an important principle of programming-method implementation hiding-is compromised. If the parameter name in the called method is changed in the future, the client method also will have to change.

Computer Science & Information Technology

You might also like to view...

Which of the following could you use to declare the iterator p? Why?

Suppose you want to run code that involves the loop ``` //Assume vector v and iterator p has been defined and //given appropriate values for (p = v.begin(); p != v.end(); p++) cout << *p << “ “; ``` ``` std::vector::iterator p; std::vector::const_iterator p; ```

Computer Science & Information Technology

What are the six different types of queries?

What will be an ideal response?

Computer Science & Information Technology

An ExpressCard gives users the ability to connect faster to a wireless network

Indicate whether the statement is true or false

Computer Science & Information Technology

Ulhurahas just accepted an SSL certificate, but she's not comfortable about the source and now wishes to make it "go away". What should she do?

a. Right-click on the certificate in question and select confirm b. Configure her firewall to block all incoming SSL certificates c. Rebuild her SSL cache d. Clear the SSL cache

Computer Science & Information Technology