Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Which programming language should I learn? (Updated)
Index -> General Programming
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
[Gandalf]




PostPosted: Mon Dec 05, 2005 6:49 pm   Post subject: (No subject)

Looking back, and...

wtd, the Java example you showed won't compile since Java, being case sensitive requires the "System" in "System.out.println()" to be start with a capital letter. It goes well to discouraging beginners from learning Java, but in the spirit of equality... Smile

Java:
import java.lang.*;
import java.io.*;

public class HelloWorld
{
   public static void main(String[] args)
   {
      System.out.println("Hello world");
   }
}
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Mon Dec 05, 2005 11:30 pm   Post subject: (No subject)

Thanks for pointing that out.
[Gandalf]




PostPosted: Mon Dec 05, 2005 11:38 pm   Post subject: (No subject)

There is also this example:
code:
import java.lang.*;
import java.io.*;

public class HelloWorld
{
   public static void main(String[] args)
   {
      greet();
   }
   
   private static void greet()
   {
      System.out.println("Hello world");
   }
}

Wink
eklypze




PostPosted: Tue Dec 06, 2005 8:37 pm   Post subject: (No subject)

Great Guide! Smile
Martin




PostPosted: Wed Dec 07, 2005 4:37 am   Post subject: (No subject)

Haskell is definitely where it's at. The lazy bit is cool, but leads to the occasional 'huh? Why does that work?'

Mind if I spice up this guide with some example code later (not Haskell... I was thinking C/C++/Java to start) to flesh out the examples some more?
wtd




PostPosted: Wed Dec 07, 2005 5:56 am   Post subject: (No subject)

Martin wrote:
Haskell is definitely where it's at. The lazy bit is cool, but leads to the occasional 'huh? Why does that work?'


The silence from you on the subject makes me wonder just how much of Haskell's power you've seen. Smile

Martin wrote:
Mind if I spice up this guide with some example code later (not Haskell... I was thinking C/C++/Java to start) to flesh out the examples some more?


Knock yourself out.
Martin




PostPosted: Wed Dec 07, 2005 8:56 am   Post subject: (No subject)

Yeah, I haven't had much time to learn about it. Work's been picking up (finally) and there's too much to do after work.

I downloaded a tutorial - Yet Another Haskell Tutorial by Hal Daume III. I'm somewhere in chapter 7 (Advanced Features).
wtd




PostPosted: Wed Dec 07, 2005 2:28 pm   Post subject: (No subject)

Martin wrote:
I downloaded a tutorial - Yet Another Haskell Tutorial by Hal Daume III. I'm somewhere in chapter 7 (Advanced Features).


That's a good tutorial.
Sponsor
Sponsor
Sponsor
sponsor
Martin




PostPosted: Wed Dec 07, 2005 7:52 pm   Post subject: (No subject)

I'm enjoying it.

Haskell really promotes a different way of thinking, and I love ghci.

One thing I'm not sure about Haskell though is how well it'd work for an actual application (besides math based ones). I guess I'll find out.
wtd




PostPosted: Wed Dec 07, 2005 8:09 pm   Post subject: (No subject)

http://www.pugscode.org/
Martin




PostPosted: Wed Dec 07, 2005 8:11 pm   Post subject: (No subject)

So that's a 'yes, it works' I take it?
wtd




PostPosted: Wed Dec 07, 2005 9:08 pm   Post subject: (No subject)

Yes. Smile
Lazy




PostPosted: Fri Nov 17, 2006 5:03 am   Post subject: (No subject)

Quote:
Haskell really promotes a different way of thinking, and I love ghci.

One thing I'm not sure about Haskell though is how well it'd work for an actual application (besides math based ones). I guess I'll find out.


How about this - a 2d shooter game? It's a fun example of how anything can be done in Haskell - and it's a good excuse to download a game for "research purposes" Very Happy
haskell




PostPosted: Wed Dec 27, 2006 12:31 am   Post subject: (No subject)

What about standard Lisp dialects, such as Scheme, Prolog, and Common Lisp? Lisp is tried and tested, and has a sense of eureka when you finally figure it out Smile. Plus Scheme is common in quite a few CS classes(Undergrad level).

Modern Assembly examples? MASM32, TASM32, or FASM. You can snatch them off their home pages, probably available under GNU License or similar.

Tcl/tk would be nice to add... But I doubt anyone thinks of learning Tool Command Language as a first language.

Possibly awk, sed and the other forgotten tools, as some people learn those first in a Unix-based environment.

AutoIt would be a good one to add... Its a Windows-based scripting language that can also be compiled to the standard Win32 PE file(.exe, not sure about .dll). Its a BASIC-like syntax and is very easy.

AspectJ would be a good example of Aspect-Oriented programming. Though probably not something for a first language.

Maybe Flash and Php? Web apps are pretty popular, and are a good transition from web design to computer programming.
michaelp




PostPosted: Mon Jul 30, 2007 8:52 pm   Post subject: RE:Which programming language should I learn? (Updated)

Sorry for the big bump, but what are you opinions on what is the best programming language for games?
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 3 of 8  [ 111 Posts ]
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Jump to:   


Style:  
Search: