- #1
unscientific
- 1,734
- 13
Anyone here can explain to us what McCarthy's revenge rule is about or any sites linking to it about an introduction to it?
McCarthy's Revenge Rule refers to the concept put forth by scientist John McCarthy in the 1960s, which states that "the difficulty of a problem is related to the square of the amount of code required to solve it." In other words, the more complex a problem is, the more code is needed to solve it.
McCarthy named this concept the "Revenge Rule" because he believed that as technology advanced and allowed for more code to be written, problems would become more complex and difficult to solve. This would result in programmers seeking revenge on the technology for making their jobs more challenging.
Yes, McCarthy's Revenge Rule is still relevant in modern computer science. As technology continues to advance and code becomes more complex, this rule serves as a reminder for programmers to keep their code concise and efficient in order to solve problems more effectively.
While McCarthy's Revenge Rule generally holds true, there are certain exceptions. For example, advancements in programming languages and algorithms have allowed for more efficient and compact code, which can sometimes solve complex problems with less code than before. Additionally, some problems may not follow this rule due to their unique nature.
McCarthy's Revenge Rule can be applied in practical situations by reminding programmers to write efficient and concise code, and to consider the complexity of a problem before attempting to solve it. It can also be used as a guideline for estimating the difficulty of a problem based on the amount of code required to solve it.