answersLogoWhite

0


Best Answer

The short answer is that goto statements generally cause messy and hard to read code. This reduces the ability to update that code. Also it was proven that nearly everything that goto was used for could be done using other control statements like the while loop or function calls.

for a more informative answer go here

http://www.cs.utexas.edu/~EWD/transcriptions/EWD02xx/EWD215.HTML

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why did Edsger Dijkstra find the goto statement to be harmful?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are some examples of how technology can be helpful and harmful to society?

technology helps us find information we can't find anywhere else. technology is harmful because our environment is being harmed by the oil being lost and humans using too many things we don't need.


How does Prim's algorithm differ from Kruskal's and Dijkstra's algorithms?

First a vertex is selected arbitrarily. on each iteration we expand the tree by simply attaching to it the nearest vertex not in the tree. the algorithm stops after all yhe graph vertices have been included.. one main criteria is the tree should not be cyclic.


What is the difference between dijkstra and kruskal's algorithm?

Both of these functions solve the single source shortest path problem. The primary difference in the function of the two algorithms is that Dijkstra's algorithm cannont handle negative edge weights. Bellman-Ford's algorithm can handle some edges with negative weight. It must be remembered, however, that if there is a negative cycle there is no shortest path.


What is the substitution of variables using the ohm's law?

Using the equation for the power dissipated by a resistor and Ohm's Law V=IR find the expression for power that involves only current and voltage. using the method of substitution of variables, find a solution to the problem statement above What are an alternative set of units that could also be used to express power.


Are robots more helpful or harmful?

I think Robots are helpful because they help carry heavy things for the army, and help firefighters put out fires. Robots have one thing in common, they all help humans. Robots can also help find people after an earthquake or a tornado. Robots help people carry things. My opinion is that robots are helpful

Related questions

What is the Dijkstra's algorithm?

Dijkstra's algorithm has importance when you are trying to find the shortest path between two points. It's used in the computer networking field where routing protocols, like OSPF, uses it to find the shortest path between routers. http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm


What is the difference between Dijkstra's algorithm and Floyd's algorithm?

Dijkstra doesn't support negative weight-age, Floyd support negative edges but no negative cycles. Dijkstra running time is v2 and Floyd has v3.Dijkstra is fast compared to Floyd, because only find the shortest path for single node. FloydSlow as compared to Dijkstra.


What is the website to download the yoville coin and cash generator?

If you Google this statement , you will find many sites offering generators . These all are fake and may contain harmful viruses .


How do you find Net Profit on Financial Statement?

In income statement. In the end of income statement you will find net profit.


How can you find the harmful honey?

I don't know of any honey that is harmful.


Find harmful gases?

????????????????


Where can you find harmful sign?

On containers and doors accessing places which contain harmful things.


Where can I find free personal financial statement templates?

You may find a personal financial statement template at office.microsoft.com.


Where would you find a harmful substance?

kitchen..:)


Where would you find a harmful hazard warning?

---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----


Find a counterexample to the statement all us presidents have served only one term to show that this statement is false.?

find a counterexample to the statement all us presidents have served only one term to show statement is false


How do you identify fallacies?

to find the illogical statement