473,837 Members | 1,499 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

JavaScript has no GOTO and neither does VBSCRIPT

Yes, no GOTO. This is a major blunder on part of the creators of these
tools. GOTO gives the programmer the absolute control over the
program. Yes, no matter what, a GOTO sends the program to where YOU
want and takes the power away from the mean spirited CREATORS. Yes,
even GOD gave us free will! But the creators of JavaScript have
decided they will forever interfere in how YOU program. THEY have
decided to keep GOTO to themselves and make programmers forever,
beholding to THEM. THEY have decided that they will command how you
write programs and that we do not have the ability to judge when to use
GOTO. Instead they have decided we are not capable. THESE GODS have
exercised arrogance beyond the norm and should be punished for it.
These GEEKS obviously suffer from a sense of powerlessness in their day
to day lives, and have resorted to this underhanded slight of mind to
restore their sense of worth. May GOD smite these beasts of silicon!

Mar 17 '06 #1
3 2199
el*********@ele ctrician.com wrote:
Yes, no GOTO. This is a major blunder on part of the creators of these
tools. GOTO gives the programmer the absolute control over the
program. Yes, no matter what, a GOTO sends the program to where YOU
want and takes the power away from the mean spirited CREATORS.


[...]

This issue was sorted out the last time you trolled here: you were going to
write your programs in VB Script or some other language.

Perhaps your sole mission in life is to rail against an unnamed
intelligentsia that refuses to endorse a language feature that you alone
wish to introduce. Keep it up and you will be ignored in perpetuity - I
suspect you already are by most who visit here regularly.

The sole defensible purpose of goto is to break from a deeply nested loop.
JavaScript has labels for that purpose, and deep loops can be broken out
of by other means.

JavaScript does not need goto. Goto has been characterised as unnecessary
and promoting bad habits for over 40 years. Here's another reference from
nearly 20 years ago, do you know more than the original developers of the C
language?

"Goto and Labels

"C provides the infinitely-abusable goto statement, and labels
to branch to. Formally, the goto is never necessary, and in
practice it is almost always easy to write code without it. We
have not used goto in this book.

"... code that relies on goto statements is generally harder
to understand and maintain than code without gotos. Although we
are not dogmatic about the matter, it does seem that goto
statements should be used rarely, if at all."

Kernighan & Ritchie, The C Programming Language, Ed 2, 1988.
--
Rob
Mar 17 '06 #2
el*********@ele ctrician.com said the following on 3/17/2006 1:40 PM:
Yes, no GOTO.
And thankfully so.
This is a major blunder on part of the creators of these tools.
No, it is a major blunder on your ability to use common sense and good
programming practices.
GOTO gives the programmer the absolute control over the program.
Pure nonsense. I have absolute control over my programs and I don't use
GOTO and have no need to. Again, that is a major blunder in your ability
to use good programming practices. Have you not heard of functions? They
make GOTO look, well, stupid.
Yes, no matter what, a GOTO sends the program to where YOU want and takes
the power away from the mean spirited CREATORS.
More of your pure nonsense. I have total power over the flow of my
program. I hope you do better electrical work than you do debating or
programming.
Yes, even GOD gave us free will!
Too bad he forgot to give you common sense.
But the creators of JavaScript have decided they will forever interfere
in how YOU program.
You really are stupid, aren't you? How did you ever manage to make it
through life without getting electrocuted or run over by a car/truck?
THEY have decided to keep GOTO to themselves and make programmers forever,
beholding to THEM.
If you weren't so funny to read, it would be a pity.
THEY have decided that they will command how you write programs and that
we do not have the ability to judge when to use GOTO.
And thankfully so. Even if JS had a GOTO, I still wouldn't use it. You
want GOTO? Use BASIC.

function GOTO(){
//
}

There, now you have a GOTO. If I cared, I couldn't even make it act like
BASIC's GOTO that you want so bad.
Instead they have decided we are not capable.
With regards to you, they were right.
THESE GODS have exercised arrogance beyond the norm and should be punished for it.
I will have to hunt later in all the programming groups to see if this
moron posted this crap there also.
These GEEKS obviously suffer from a sense of powerlessness in their day
to day lives, and have resorted to this underhanded slight of mind to
restore their sense of worth. May GOD smite these beasts of silicon!


Yep, you are a fruitcake, that's for sure.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 18 '06 #3
> el*********@ele ctrician.com said the following on 3/17/2006 1:40 PM:
Yes, no GOTO.
This is a major blunder on part of the creators of these tools.
GOTO gives the programmer the absolute control over the program.


I can't stand having to insulate the wires in my house. These stupid
requirements by electricians to make me have to do things their way make
it so much harder for me to rewire my house.

I think I should get me a javascript programmer to help...
Mar 18 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
8488
by: Alex Molochnikov | last post by:
Is there any way to find out programmatically if Javascript is supported/enabled in a browser? By "programmatically" I mean on the Java servlet side. TIA Alex Molochnikov Gestalt Corporation
1
3857
by: jarit | last post by:
Hi, Found these coding guidelines for C#, HTML, Javascript, Java, HTML, PL/SQL, T-SQL, VB and VBScript. Well written and free to download. www.demachina.com/products/swat Jeroen
2
2497
by: duncan | last post by:
why does this work :- <HEAD> ...... <SCRIPT LANGUAGE="javascript"> function test() { alert("test 1") } </SCRIPT>
3
2943
by: William F. Robertson, Jr. | last post by:
My problem is I routinely use both vbscript and javascript (yes, that is a problem in itself) on the same webpage. I feel placing the "javscript:" or "vbscript:" on all my client side events is bloating the size of my page, especially in my menu. I am aware the "default" language of the page is the first defined script, but I can not guarantee javascript will always be defined first. Is there a way to wrap a block of html to have a...
34
26660
by: electrician | last post by:
Perl has it, Basic has it, Fortran has it. What is so difficult about creating a goto command for JavaScript. Just set up a label and say go to it.
4
6359
by: korund | last post by:
Is there any difference to read & write to windows Registry with VBScript or JavaScript? Both scripting languages have similar syntax. What is preferable use for this? thanks.
4
83684
by: Ron Hinds | last post by:
Although InterDev syntax highlights GoTo as a keyword, it isn't supported in VBScript. I'm wondering if anyone has a clever workaround for this limitation? TIA!
6
10304
by: MayBoy | last post by:
Hi There I am trying to use the Goto method of the Word ActiveX object. I am trying to open a document and go to a named bookmark. If I use this code in VB it works, so I'm sure the approach is possible, I just can't get JavaScript to work with it. Here is the code I am using, the error I get from IE is Object Expected: Hope someone can help! Any help would be much appreciated
9
8431
by: Erwin Moller | last post by:
Hi, Can anybody comment on this? In comp.lang.php I advised somebody to skip using: <script language="javascript"> and use: <script type="text/javascript"> And mr. Dunlop gave this response:
0
10564
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10621
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10268
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7806
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5668
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5846
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4039
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3123
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.