Question

In: Computer Science

Explain why some people might say that "generalisation" in software design (i.e. designing software so that...

Explain why some people might say that "generalisation" in software design (i.e. designing software so that it can anticipate future evolution) is a "bad smell" (i.e. something that needs to be refactored away)? In your explanation consider arguments for and against generalisation being a “bad smell”.

Solutions

Expert Solution

Solution for the problem is provided below, please comment if any doubts:

Arguments against the comment “generalisation being a “bad smell””:

  • The generalization make the software robust so that it can withstand the possible threats or changes that happening in the future.
  • The generalization can reduce the maintenance activities that has to be performed in future, thus it can’t be considered as a wastage.
  • The capabilities of the software can be increased in future without addition of extra features but the execution of generalized features.

Arguments for the comment “generalisation being a “bad smell””:

  • The generalization requires additional space and cost, thus if it is not used in future, the generalization will be a big wastage of resources.
  • These features can be added by maintenance in future time, it is better than an anticipated inclusion of features.
  • It can affect the software performance.
  • It will remain dead in the software in the most of the time, thus it is not atall recommended to include the generalized features.

Related Solutions

Explain why design conflicts might arise when designing an architecture for which both availability and security...
Explain why design conflicts might arise when designing an architecture for which both availability and security requirements are the most important nonfunctional requirements.
explain why some people might have difficult time working withe people who are different from them....
explain why some people might have difficult time working withe people who are different from them. Explain how you may set up a program at work that would help people deal with and understand the Benifits of working with a diverse group of people.
Why are the Southern cities in the US growing so fast? Besides, what might be some...
Why are the Southern cities in the US growing so fast? Besides, what might be some other potential causes for the rapid development of Southern States and Cities in the United States? Is this trend going to continue in the following 10 years/20 years and Why? (2-3 paragraphs)
Explain some of the costs of hyperinflation, If they are so costly to an economy why...
Explain some of the costs of hyperinflation, If they are so costly to an economy why do they occur?
Explain why glutamine side chain might be located inside of a correctly folded protein. (i.e not...
Explain why glutamine side chain might be located inside of a correctly folded protein. (i.e not interacting with water)
Examine the key reasons why so many people might seem to be attracted to more pseudoscience-type...
Examine the key reasons why so many people might seem to be attracted to more pseudoscience-type claims. Describe at least two (2) such claims that you have heard people make, and analyze the main reasons why such claims do or do not meet rigorous scientific methodology standards. Determine at least two (2) ways in which the material discussed this week has changed your own thinking.
When designing LTC Environments, explain the theories of: a. Supportive Design b. Universal design
When designing LTC Environments, explain the theories of: a. Supportive Design b. Universal design
What are some of the reasons why people might find themselves code-switching? Be specific, providing a...
What are some of the reasons why people might find themselves code-switching? Be specific, providing a particular example from the article in order to help you reinforce your claim. What are the benefits of adopting a variety of languages and/or voices for different scenarios? How might this help someone to better navigate the world and/or various social situations? Are there any drawbacks to the phenomenon of code-switching? In other words, could people experience prejudice and/or other obstacles by displaying this...
Some people say that there is only a future for free on the Internet, but Alipay...
Some people say that there is only a future for free on the Internet, but Alipay is doing the opposite. Starting from 2013, PC-side payment and settlement fees will be charged, and from now on, channel service fees will be charged to the IMF. What do you think of this phenomenon? Please think about the sustainable profitability of Internet finance.
Briefly explain why the share-market impact of the announcement of an LBO might be so different...
Briefly explain why the share-market impact of the announcement of an LBO might be so different to that of the other corporate restructuring transactions studied by Eckbo and Thorburn.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT