Me and my buddies at the Ohio State University have patented a compiler/macro processor that takes code written in object-oriented JavaScript (code that has keywords such as 'class' and 'extends') and converts it into equivalent plain JavaScript.  This plain script can be embedded in browsers.  All the benefits of OOP will be there.  How does this idea sound to all you web developers? I know JavaScript's next specification (version 2.0) has object support, but we will be coming out with it earlier i guess =) And it will be really simple to use.
204300
Great!! \nJavascript should support its existing procedures and syntax and in addition give OOP support. That would be really really great.\nAnd that really means a lot b/c by the increased usage of Ajax, javascript is supposed to handle a lot of things (even business logics at sometimes). Many full-featured ajax applications are using OOP like ways to code their bussiness logics but they have to use events etc. By incorporating OOP in javascript this problem will be solved.
59642
Sounds to me like they mean that Java will be next in line for the 'nitch' market.  Cobol really doesn't have wide accepetance in the market unless you are doing main frame work and God forbid you run a mainframe with Java as the core.\n\nIn otherwords, even though Java was a good idea..it's not catching on as fast as Sun hoped and wants, and most likly will be shoved over by the next 'great' thing in programming.
173180
I'd dump it into a compiler and do it for you but you left too much out.  Impossible to return a syntax error free version without the whole program.\n\nAnyways, I get paid for this.  How many points is this worth?  ...to do someone's homework for him?  Or maybe he's doing contract work!  He's getting $70 and hour to let us do it for him!
384669
Java is also a programming language like VB, VB.Net, C, C++. So you can make any applications like MS-Word, Excel, Power-Point in Java. The main advantage of java applications is they are platform independant. Means you can run them on any operating systems. MS-Word, Excel etc can run only on Windows OS. But Java Applications are sligtly slower then the application developed on Microsoft Platform like VB.Net, VB etc.\n\nBut to make an operating system you cannot use Java. Because Java is made for application programming not for system programming. For operating Systems you need lot of System Programming. C and C++ are the best language for system programming. So, to develop Operating Systems C, C++ are widely used. But only C and C++ are still not enough to make an OS. You also need Assembly Level programming but Java cannot be used to develop an OS.\n\nAJAX stands for Asynchronous JavaScript And XML. It can be used for online applications. GMail and Google Pages uses AJAX. Now AJAX is also used in Beta version of Yahoo Mail.\n\nTo know about AJAX, you have to understand the general procedure of web pages.\n\nConsider a web page containing a form which accepts the data of user information like first name, last name, address etc. and store it to the database and then after display a message like "Thank you for submitting your information..."\n\nNow you fill up the data and click on the submit button. Now the following procedure occurs\n\n1) Your data is sent to the web server.\n2) Data is stored in the database.\n3) After data is stored, web server gives back a web page containing a message like "Thank you for submitting your information..."\n4) Your web browser accepts the response from web server and display the page.\n\nHere, after clicking on submit button you have to wait until the data is stored and a new page is displayed.\n\nBut consider the example of Google Pages. In google pages during saving your page, the page is not refreshed. You can keep your editing page while your page is being saved. This happens because of AJAX.\n\nWith AJAX you can receive and send data from web server without refreshing the whole page.\n\nTo learn about AJAX, follow the link\nhttp://www.w3schools.com/ajax/default.asp\n\nThis can give you a basic idea of AJAX.
2298
Hello,\n\nI looked at the source code and they are indeed tables that they are using. What they've also done is assigned a CSS class to the table. I stripped down the code so all the extra stuff you don't need is removed. Just examine the code below and you should be albe to go from there. \n\n\ncreate a file called index.htm and copy and paste the contents below into the file. \n\n<!- Index.htm file start --> \n\n<html>\n\n<head>\n<title>Sample</title>\n<link rel="stylesheet" type="text/css" href="sample.css">\n</head>\n\n<body>\n<table id="toc" class="toc" summary="Contents">\n<tbody><tr>\n<td>\n<div id="toctitle">\n<h2>Contents</h2>\n <span class="toctoggle">[<a href="javascript:toggleToc()" class="internal" id="togglelink">hide</a>]</span></div>\n<ul>\n<li class="toclevel-1"><a href="#Introduction"><span class="tocnumber">1</span> <span class="toctext">Introduction</span></a></li>\n<li class="toclevel-1"><a href="#Description_of_the_theory"><span class="tocnumber">2</span> <span class="toctext">Description of the theory</span></a>\n\n<ul>\n<li class="toclevel-2"><a href="#Quantum_mechanical_effects"><span class="tocnumber">2.1</span> <span class="toctext">Quantum mechanical effects</span></a></li>\n<li class="toclevel-2"><a href="#Mathematical_formulation"><span class="tocnumber">2.2</span> <span class="toctext">Mathematical formulation</span></a></li>\n<li class="toclevel-2"><a href="#Interactions_with_other_scientific_theories"><span class="tocnumber">2.3</span> <span class="toctext">Interactions with other scientific theories</span></a></li>\n</ul>\n</li>\n<li class="toclevel-1"><a href="#Applications_of_quantum_theory"><span class="tocnumber">3</span> <span class="toctext">Applications of quantum theory</span></a></li>\n\n<li class="toclevel-1"><a href="#Philosophical_consequences"><span class="tocnumber">4</span> <span class="toctext">Philosophical consequences</span></a></li>\n<li class="toclevel-1"><a href="#History"><span class="tocnumber">5</span> <span class="toctext">History</span></a>\n<ul>\n<li class="toclevel-2"><a href="#Founding_experiments"><span class="tocnumber">5.1</span> <span class="toctext">Founding experiments</span></a></li>\n</ul>\n</li>\n<li class="toclevel-1"><a href="#See_also"><span class="tocnumber">6</span> <span class="toctext">See also</span></a></li>\n\n<li class="toclevel-1"><a href="#References"><span class="tocnumber">7</span> <span class="toctext">References</span></a></li>\n<li class="toclevel-1"><a href="#Notes"><span class="tocnumber">8</span> <span class="toctext">Notes</span></a></li>\n<li class="toclevel-1"><a href="#External_links"><span class=&
48717
A large majority of the Web designers, including corporate ones, never heard of the W3Consortium. They will generally write web pages that will work with their own browser, which, more often than not, is very forgiving when it comes to unorthodox HTML. Many authors are self-taught, and I bet that some of them reading this question are intrigued by it, and would like to know more. This answer may help them to get started.\nTo validate an HTML Doc, go to:\nhttp://validator.w3.org/
492262
Well the first thing you should recognize is that VB.Net is in a transition from what VB use to be to something that is more like OOP as done in C++. For instance, VB.NET now implements full inheritance, classes, everything being an object with methods that can be overridden, shared, shadowed etc.\n\nAnother thing you can compare is the actual syntax. VB.NET has made an effort to hold onto its very English like syntax, one thing that C++ does not share. \n\nOne similarity is that VB.NET implements classes which can be derived, made abstract, full methods and properties like that of C++.\n\nI have included a site that compares C++ but with C# and Java which might be better to compare directly with C++ than VB.NET since they are so similiar. It has results on memory usage and outlines the options/OS used to conduct the experiments.\n\nYou have to understand that by its very nature C++ is closer to the machine code that the OS understands while .NET has an extra layer (the CLR or common language runtime which offers several more graphical and performance changes than original C++ code).\n\nYou will be lucky to find more C++ / C# comparisons or Java / .NET comparisons than finding one that will compare two separate languages AND platforms like VB.net and C++.\n\nHope these results help a little. Enjoy!
378414
definitely, PHP. (If you have to choose from these three that is - otherwise, I would have voted for perl). \nWhen you talk about web, and/or text processing, php (or perl) is THE tool for you. Nothing comes close in ease of use, and effectiveness (of both run-time and development). \nSeveral pages of a C++ or java  program are usually translated to 2-3 lines of perl or php.\n... and no, there are no "security issues",  if your server is configured properly. And if it isn't, you've got issues regardless of language. To be viable, security must be provided by the web server, not by application. \n\nYour other choices have their problems.\nJava is cumbersome, ineffective, memory hungry, unstable... to name a few. You'd be really much better off with C++ than java, especially, since you already know it. Java doesn't have any advantages over C++, except for some perceived "simplifications", that are really just functional deficiencies - such as luck of memory management options or multiple inheritance.\n\n.NET... hmmm.... hope, you are not serious. All I can say, stay away from micro-soft stuff as much as you can. It can bring nothing but sorrow.
412635
language should have never been used for specifying JS vs VB or setting versions.\n\ntype is correct... language worked, but does not validate and is just OLD!
632081
try this\n\nhttp://en.wikipedia.org/wiki/Java_programming_language
259345
If you know C++ or Java (which have simular syntax) than these are best because they would compile to smaller code and run quicker (less steps to compile down to machine code). The only draw back is that it is more difficult syntax to VB, although it is the best option for more advanced programming.\n\nVisual Basic is popular because the syntax is simple, although it isn't fully object oriented. Although it does make use of objects, it does not allow the user to create their own classes, or modify others (polymorphism). Although VB.NET and later versions is fully object oriented, don't know as much about that. It also runs slower than C++ because of the processes it has to go through to get down to machine code. If you don't know what object oriented programming is, a good overview can be found here: http://en.wikipedia.org/wiki/Object_oriented\n\nYou could imagine that developing an application is like building a house. Both languages can be used to achieve the same task, although building it with VB is like using bigger bricks. It would be quicker and easier to build, but you wouldn't have has much flexibility as you would with smaller bricks (e.g. in this analogy, using C++).\n\nDelphi is also a fully object oriented language and also very powerful. It has the same syntax as Pascal (which was a popular teaching language years ago and supported object orientation in later versions). Delphi is basically a modern GUI version of that.
2073
Shame on you, that's not a real question ;)\n[and was it really worth bumping???}\n\nNow, I am a coldfusion programmer, and I personally don't think it's a real programming language. The problem is, the people who started coldfusion thought it wasn't a programming language either, but then suddenly as its userbase needed more solutions for the applications they were building, the language got bigger, and it certainly had to start mimicing the constructs and processes of a real programming language, including OOP methods. So it has become one. Sure it's not OOP, but I was able to use the process I learned from ColdFusion and put it into my C++ skills. \nBut of couse you were asking the question as your own statement about its quality, so your asking is disingenious to begin with. \n\nIt is a programming language, strictly speaking, as you give it input, which it interprets and gives output.  It's certainly not as robust as PHP, and has to go back to the server unlike Javascript, which I'm sure you must think are both real languages since they're OOP, but why complain? Get over it and get back to your real programming language.
33952
Well, huh.  \n\nOkay, let's say we're making a dog simulator with OOP.  So we might have various "objects" in the game in order to give structure to our program; in this case, "dog" could be a primary object.  But anything that exists in our program would also be an object -- street, fire hydrant, owner, leash, policeman, etc.\n\nOur dog object will have various properties, methods, and events.  Properties are things that describe the object (possibly uniquely), methods are things the object can actually do, and events are things that can happen to the object that it can respond to.  For example, "color" might be a property, "smell(something)" might be a method, and "owner picks up leash" an event.\n\nA constructor is simply the most basic method for any object that actually creates a new unique object.  In this case anytime we define a new dog object we will call the constructor for that object, in which we might set some default properties (ie set color = "black") and call some methods to establish the object within the program framework.  For example, we might use a constructor to register the new dog object in the list of possible "encounter" events that can happen to other dogs.\n\nObviously this is a very basic introduction. The best way to familiarize yourself with OOP is to design a few very very basic programs -- let's say a program that runs a mouse through a maze.  Imagine all the objects, all the properties for those objects, all the methods those objects will have to do, and all the events the objects will have to respond to, and write them all out.  \n\nThen program something yourself in your favorite programming language and find out all the things you forgot to include  :)
662650
For a simple answer it will be the following:\n<APPLET CODE=AppletSubclass.class WIDTH=anInt HEIGHT=anInt>\n</APPLET>\n\nwhere your code is the class of that applet. Take a look at the website below for full description of how to use make applets.\n\nFor your information the tags are standard for any scripting language, it will just be interpretted as html.
581924
As a computer science student of the University of Minnesota, we are required to take Csci 1902.  This course is taught entirely in Java and is designed to teach the basics of fundemental programming techniques and data structures.  Java is good for this because it is both Object Oriented (OO) and universal across all platforms, making it a powerful tool in any programmer's belt.  \n\nThe importance of Java to students:\n1. Universal Language across all platforms.  Write code once and be done with it.  Java is an interpreted language, it is run by a virtual machine (VM) that runs on the workstation.  The VM will run the same code regardless of what OS the host workstation has installed.\n2. Some concepts can be implemented more quickly and much easier in Java than in other languages.  Every language has its advantages and disadvantages.  Knowing Java gives you one more tool in your arsenal, having the knowledge of how to use that tool correctly can save you a lot of work.
63375
If J2EE was as bad as you think it is, why is it so widely used? Answer: it's not.\n\nIt's been a very long time since this technology could be accused of being generally inefficient. JIT and adaptive in-time compilers can actually recompile byte-code into assembley during runtime depending on how it's currently being used. This can produce faster execution in certain cases than C or C++.\n\nMost of the pain comes from starting the runtime, in an enterprise environment this is not an issue.\n\nPS. Remember it's just a specification. If you want to do Java just like C# (ie. compiled and ready to go as a binary), take a look at http://gcc.gnu.org/java/
113145
Ruby On Rails is the big thing nowadays.  If you're comfortable with OOP and Ruby, it's a breeze and quick as well.