Possible Duplicate:          Why is goto considered evil in Java, and why is is not suitable for use in high-level programming languages?
Everyone is aware of Dijkstra's  (also  .html transcript and  .pdf) and there has been a formidable push since that time to eschew the goto statement whenever possible. While it's possible to use goto to produce unmaintainable, sprawling code, it nevertheless remains in . Even the advanced  control structure in Scheme can be described as a sophisticated goto.  What circumstances warrant the use of goto? When is it best to avoid?  As a followup question: C provides a pair of functions, setjmp and longjmp, that provide the ability to goto not just within the current stack frame but within any of the calling frames. Should these be considered as dangerous as goto? More dangerous?    Dijkstra himself regretted that title, for which he was not responsible. At the end of  (also  .pdf) he wrote:     Finally a short story for the record.   In 1968, the Communications of the ACM   published a text of mine under the   title "The goto statement considered   harmful", which in later years would   be most frequently referenced,   regrettably, however, often by authors   who had seen no more of it than its   title, which became a cornerstone of   my fame by becoming a template: we   would see all sorts of articles under   the title "X considered harmful" for   almost any X, including one titled   "Dijkstra considered harmful". But   what had happened? I had submitted a   paper under the title "A case against   the goto statement", which, in order   to speed up its publication, the   editor had changed into a "letter to   the Editor", and in the process he had   given it a new title of his own   invention! The editor was Niklaus   Wirth.   A well thought out classic paper about this topic, to be matched to that of Dijkstra, is , by Donald E. Knuth. Reading both helps to reestablish context and a non-dogmatic understanding of the subject. In this paper, Dijkstra's opinion on this case is reported and is even more strong:     Donald E. Knuth: I believe that by presenting such a   view I am not in fact disagreeing   sharply with Dijkstra's ideas, since   he recently wrote the following:   "Please don't fall into the trap of   believing that I am terribly   dogmatical about [the go to   statement]. I have the uncomfortable   feeling that others are making a   religion out of it, as if the   conceptual problems of programming   could be solved by a single trick, by   a simple form of coding discipline!"
Can I choose to delay my turn in combat? how to tell Latex to ignore empty lines Can "firstly" be used in the same meaning as "at first/initially"? I've come across many sources claiming that the words firstly and first (as an adverb) can be used interchangeably. They, however, only seemed to be comparing their meanings with regard to enumerations - first(ly) I want to say ..., second(ly) ..., last(ly) ...  What bothers me more is if the word firstly is also usable within the meaning of at first or initially like in the sentence:     Muons (subatomic particles) were firstly observed in cosmic rays.   The word first fits there very well, but is that the case for firstly too? I have not found a dictionary definition or example saying so. If I was... If I were...   When is it correct to use "If I was" vs. "If I were" in standard English? How do you find out the caller function in JavaScript? function main() {    Hello(); }  function Hello() {   // How do you find out the caller function is 'main'? }   Is there a way to find out the call stack? Does the alarm work when my phone is turned off? Will the alarm still go off if I turn off the phone before?  Example: when I have low battery, I have to go to sleep and wake up at X o'clock, and there is no charger around. Should I turn off the phone?   Note: If it makes any difference my phone is Galaxy S running froyo How to SEO a Single-Page website Do shots fired before the match starts count towards your end-of-game statistics? In Overwatch, there is short countdown for a few minutes before the match begins. During this time, the defending team is allowed to roam the map to set up their defenses, while the attacking team sits in a small lobby until the game starts and the doors open. (Or in KotH-type maps, both teams wait in a lobby.)  While players wait, it's not uncommon for them to fire off random shots, especially since a lot of the environment is destructable (it's entertaining to watch plush onions sail through the air in the arcade).   Do shots fired before the match starts count towards accuracy statistics at the end of the game? What is the command to open the shutdown dialog? How to set identity_insert to on in SQL Server Is it grammatically  wrong  to say      It's been too hot  in the last / the past few days      It's been too hot for the last / the past few days     I saw this following sentence also, can we omit in it?     He's had two new cars in the last / in the past three years   as     He's had two new cars  the last / in the past three years     Is there a strict rule in using of preposition or non-preposition when we use the last/past ?  What is the structure when I refer to weeks, months ? Why do all Winforms programs require the [STAThread] attribute? What is the relation between normal extension and separable extension? What is the relation between normal extension and separable extension? Let F be the algebraic extension of K, if F is a separable extension of K,if and only if F is a normal extension of K? is this correct? I just received a decision letter from a journal editor (after three rounds of major revision). The letter shows that the reviewers "have asked for some other minor revisions". After getting the minor revision letter, I immediately completed the revision in accordance with the feedback from the reviewers (the suggested changes just involve adding a few sentences) and immediately resubmitted the revision to ScholarOne. A week has passed since I submitted the revision, but the status in ScholarOne remains unchanged. Is this normal? Can I assume that this basically means "acceptance with minor revision"? Thanks for your insight and sharing. How long does the Truffle take to move in after building the mushroom biome? If someone who is otherwise healthy decided to drink fairly heavily and consistently over a long period of time, what is the healthiest way to do so?  Example: Stay extra hydrated by drinking more water, take a multivitamin, get more sleep, etc.  Obviously the best solution would be to cease drinking, but IF that person is stubborn and won't quit - what's the best way to go about it? Root filling up although it should have some space This has been perplexing me for some time. I'm on Ubuntu 11.04. My root partition is filling up and I can't figure out what's causing it. Even stranger, when I run df -h, this is the output:  Filesystem            Size  Used Avail Use% Mounted on /dev/sda2             9.2G  8.8G     0 100% /   As you see, there should be about 400 MB free, but Avail shows 0. What could be causing this? I've even uninstalled some programs to free the space and it fills up again. Suggestions on how to find out which, if any, files are filling up the space are also welcome. Does Microsoft Office 2010 have version control?  In other words, does it automatically save old versions of files? What is the difference between a "link function" and a "canonical link function" for GLM Can magnetic fields be "blocked"? For example, in the game, TitanFall, a robot stop bullets with ( presumably ) a magnetic shield.  I wish to calculate the magnetic force required to stop a bullet within a few microseconds.  But the problem I have is that my entire electronic system or the vehicle ( most likely even a building ) will be subjected to massive fields most likely destroying it as well.  Does any know of a way to "block" or divert the field around my vehicle? Is it even possible? My knowledge in magnetic fields are quite limited at this time.