goldenratiophi Posted October 12, 2004 Share Posted October 12, 2004 Hello world in every programming language you ever wanted (and/or didn't want) to know Link to comment Share on other sites More sharing options...
Dnas Posted October 12, 2004 Share Posted October 12, 2004 The horror!Seriously, why is it always "Hello World"?Why not "Hello messed-up-user-who-actually-bother-to-run-this-program!"Hmm... they don't have Ti-83 Link to comment Share on other sites More sharing options...
akya Posted October 12, 2004 Share Posted October 12, 2004 Interesting IMO@Dnas : I like your idea Link to comment Share on other sites More sharing options...
goldenratiophi Posted October 12, 2004 Author Share Posted October 12, 2004 The horror!Seriously, why is it always "Hello World"?Why not "Hello messed-up-user-who-actually-bother-to-run-this-program!" Actually, I saw a C tutorial that said#include int main(){printf("Howdy, world!");return 0;}Quite different.But I like that suggestion. Link to comment Share on other sites More sharing options...
Sam Posted October 13, 2004 Share Posted October 13, 2004 Wow, they made the VB one about as long as possible. Link to comment Share on other sites More sharing options...
goldenratiophi Posted October 13, 2004 Author Share Posted October 13, 2004 Wow, they made the VB one about as long as possible. That's because they set all the properties of the windows and things in the code instead of in the properties window.If they did it in the properties window, there would be little to no code. Link to comment Share on other sites More sharing options...
Klaas Posted October 13, 2004 Share Posted October 13, 2004 Lol that's great. Strange they are using those while loops, I suppose that isn't needed, certainly not in PHP.They didn't include Ruby or Coldfusion Link to comment Share on other sites More sharing options...
Sam Posted October 13, 2004 Share Posted October 13, 2004 there would be little to no codeIt would bePrivate Sub Form_Initialize()Text1.text = "Hello world"End Subor just use the Print command Link to comment Share on other sites More sharing options...
DarkAngelBGE Posted October 13, 2004 Share Posted October 13, 2004 Yeah, not sure why they always end up with "death-loops" (as I call oops that have no endign conditions).Have al ook at the visual c++ one. They included everything there what the IDE is generating it seems. Link to comment Share on other sites More sharing options...
Nawen Posted October 13, 2004 Share Posted October 13, 2004 What is this? Link to comment Share on other sites More sharing options...
Lorian Posted October 13, 2004 Share Posted October 13, 2004 They actually have it in HTML, it's not even valid! What ever happened to tags?<HTML><HEAD><TITLE>Hello, World Page!</TITLE></HEAD><BODY>Hello, World!</BODY></HTML>EDIT: This is even worse<TITLE>Hello World in JavaScript</TITLE><SCRIPT> Â Â document.write ("Hello, world!")</SCRIPT> Link to comment Share on other sites More sharing options...
King Tutankhamun Posted October 15, 2004 Share Posted October 15, 2004 Lol, that is neat. INteresting to compare all the different codes. Link to comment Share on other sites More sharing options...
Red_08 Posted October 15, 2004 Share Posted October 15, 2004 The HTML one is "valid".You don't HAVE to use the < P > tags. (don't always use them meself because of not wanting big spaces in some lines where I want to just start a new line)They don't have a XHTML one either. Link to comment Share on other sites More sharing options...
Lorian Posted October 15, 2004 Share Posted October 15, 2004 The HTML one is "valid". Valid eh?Code I validated (added doctype and character encoding)<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><HTML><HEAD><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><TITLE>Hello, World Page!</TITLE></HEAD><BODY>Hello, World!</BODY></HTML>Line 9, column 0: character data is not allowed hereHello, World!You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a aragraph) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).Line 10, column 6: end tag for "BODY" which is not finished Link to comment Share on other sites More sharing options...
av_nefardec Posted October 15, 2004 Share Posted October 15, 2004 I ought to lend them my TI-89 code Link to comment Share on other sites More sharing options...
Red_08 Posted October 15, 2004 Share Posted October 15, 2004 Oh, thats right. My mistake. Link to comment Share on other sites More sharing options...
Ykkrosh Posted October 15, 2004 Share Posted October 15, 2004 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><HTML><HEAD><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><TITLE>Hello, World Page!</TITLE></HEAD><BODY>Hello, World!</BODY></HTML>This Page Is Valid HTML 3.2!Why assume that "valid" requires HTML 4 or XHTML? Older specifications still exist, and there's nothing wrong with writing for them Link to comment Share on other sites More sharing options...
Red_08 Posted October 15, 2004 Share Posted October 15, 2004 I guess we were assuming it's HTML4. Link to comment Share on other sites More sharing options...
Lorian Posted October 16, 2004 Share Posted October 16, 2004 I guess we were assuming it's HTML4. I was originally assuming that it was XHTML because I usually work with XHTML but then I noticed it was invalid HTML as well Link to comment Share on other sites More sharing options...
Uppy Posted October 18, 2004 Share Posted October 18, 2004 It keeps on saying page cannot be displayed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now