also @ TechSpot: Mozilla developing Metro-specific Firefox for Windows 8
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > Software Apps

Collaborate in the cloud with Office, Exchange, SharePoint, and Lync

Programming Language

Page 1 of 3 1 23
Thread Tools Search this Thread
  #1  
Old 04-19-2004
Jaf's Avatar
Jaf Jaf is offline
TechSpot Member
 
Member since: Oct 2003, 63 posts
Programming Language

Hi. Im just wondering if ne1 knows the best programming language to chosse. I've tried dark basic to make 3D games. Im wondering is there any programming language that can do everything. Like make 2D and 3D games, have internet commands, registry commands, system commands. I dont think visual basic. NET can make 3D games. Ijust need some suggestions on any good programming languages.

Thanx
  #2  
Old 04-19-2004
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
You can make games in anything. It just depends on your skills and devotion.

If you want to make a game worth anything you should choose the language you are the most comfortable with. And also try to get a hold of some realism when judging your skills

You don't even have to use a programming language to make a (not so impressive) game.
Have you heard of tools like "Games Factory", "PIE 3D", Milkshape 3D?
  #3  
Old 04-19-2004
me(who else?)'s Avatar
TechSpot Booster
 
Location: Ontario, Canada
Member since: Nov 2003, 433 posts
I've tried making a 3D game in VB, but it was crappy. As a matter of fact, all my VB games suck. So far all I've found VB good for is utilities (like shred, etc.).
  #4  
Old 04-20-2004
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
No offense, but the quality of a game depends mostly on the maker of the game, not the tools used

You can make your "game" look prettier by using some pre-made tools but that doesn't mean the game would be any good.
  #5  
Old 04-20-2004
Th3M1ghtyD8's Avatar
TechSpot Paladin
 
Location: Lincs. UK
Member since: Mar 2002, 794 posts
Visual Basic (VB6) can be used to make 3d games using either OpenGL or DirectX, but you'll find that it is a lot easy to program either graphics api if you use C/C++. If you plan on making 3d games e.g. FPS games then the Doom and Quake Source Code are both worth a look.

Dark Basic is supposed to be pretty good at making games, as it is based on C++ AFAIK. But for making simple tools, and knocking up programs quickly, nothing comes close to VB
  #6  
Old 04-20-2004
me(who else?)'s Avatar
TechSpot Booster
 
Location: Ontario, Canada
Member since: Nov 2003, 433 posts
Yeah, I'd say that my VB programs are "knocked up". What language are Quake and Doom written in? Definitely not VB.
  #7  
Old 04-20-2004
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
Anything remotely serious is written in some form of C
  #8  
Old 04-20-2004
me(who else?)'s Avatar
TechSpot Booster
 
Location: Ontario, Canada
Member since: Nov 2003, 433 posts
Is Java anything like C? I've never done any programming in C, so I wouldn't know. Isn't there a language called TopLink which allows the two to communicate?
  #9  
Old 04-20-2004
BrownPaper's Avatar
TechSpot Booster
 
Location: Los Angeles, CA USA
Member since: Feb 2003, 467 posts
System specs
my friend is making a rpg for ps2 with c++.

java is sorta like c++, or at least so i am told by my friend. i have not gotten around to messing with java yet.

Last edited by BrownPaper; 04-20-2004 at 09:13 AM..
  #10  
Old 04-20-2004
Th3M1ghtyD8's Avatar
TechSpot Paladin
 
Location: Lincs. UK
Member since: Mar 2002, 794 posts
Quote:
Originally posted by me(who else?)
What language are Quake and Doom written in?
a mixture of C and C++.

Quote:
Originally posted by me(who else?)
Is Java anything like C?
There are a lot of similarities between the 2
  #11  
Old 04-20-2004
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
Java is a lot like C++ which is a lot like C. But java is very different from C.

TopLink isn't really a programming language and not quite "allowing them to communicate". It's a tool that lets you kep Java objects in databases.
That is if the TopLink that you mean is the TopLink I mean-
  #12  
Old 04-20-2004
smtkr's Avatar
TechSpot Member
 
Location: Toledo
Member since: Mar 2002, 138 posts
Use C++ with OpenGL calls
  #13  
Old 04-20-2004
Th3M1ghtyD8's Avatar
TechSpot Paladin
 
Location: Lincs. UK
Member since: Mar 2002, 794 posts
Quote:
Use C++ with OpenGL calls
That way we can port it Linux and other platforms easily
  #14  
Old 04-20-2004
Phantasm66's Avatar
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,504 posts
Re: Programming Language

Quote:
Originally posted by Jaf
I've tried dark basic to make 3D games.
C++ for the brave and skilled.

Dark Basic for those who's imagination exceeds their patience.

YOU MUST FOLLOW THIS LINK!!

http://darkbasic.thegamecreators.com/

YOU MUST FOLLOW THIS LINK!!

Seriously this thing is not a gimmic it was used to teach computer games programming in a University I worked at.

  #15  
Old 04-20-2004
me(who else?)'s Avatar
TechSpot Booster
 
Location: Ontario, Canada
Member since: Nov 2003, 433 posts
The TopLink I'm thinking of was created by BEA (or The Object People, who they bought, then dissolved)
  #16  
Old 04-20-2004
Phantasm66's Avatar
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,504 posts
Quote:
Originally posted by me(who else?)
Is Java anything like C?

Most modern programming languages like C++, C#, Java and Perl are derived from C. C is the mother programming language.

C++, C#, Java and to some extent Perl are different from C in a very special way, though. They use a modern way of thinking about programming that's very powerful. They are object oriented.

You will probably be familiar with some kinds of programming, probably traditional system design where you did things like:

10print "hello world"
20 goto 10

and so forth.

Object oriented programming differs from this. In this, the code (methods) and datatypes (variables that are used) are bundled together into structures called objects - custom built programming components that contain all of the programming and interior components that they need to operate and be placed as a unifed structure into programs that we write.

Blueprints for these objects are called classes.

Code for a class may (and will) contain declarations of data types (their names, their initial values, etc) and then programming code which is destined specifically to be used with those datatypes.

Here is what a crude class looks like


---
Class person

datatypes used
---------------------

string address;
string first name;
string second name;
int age;
int dateofbirth;

program methods used
------------------------------
procedure to set the name;
procedure to set the address;
procedure to set the dateofbirth;
a procedure that's internal only for calculating the age from the date of birth;



You get the picture.

You build these objects, create various instances of them, and then make them react off of each other and off of other classes.

To some extent, you still get this sort of thing:

10Input"What is your name?", name$
20print name$
30 goto 20

But its also deeply about a completely different way of programming which, if you are not familiar with that sort of thing, or if you learned to program in the traditional way, can be a litte hard to get your head round at first.

If you are going to do ANY programming, learn some C first and then maybe move to something nicer like Java, and do the Dark Basic games programming as a side project.


  #17  
Old 04-20-2004
LNCPapa's Avatar
TechSpot Special Forces
 
Location: Duke University, North Carolina, USA
Member since: Feb 2002, 3,231 posts
System specs
BTW - I wouldn't try to learn VB for that right now - rumor is (I spoke directly with an MS employee) that VB will soon be reserved for MS Office only.
  #18  
Old 04-20-2004
Phantasm66's Avatar
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,504 posts
VB is pants. VB is not programming. Its rubbish. Its programming for dummies, and its utterly crap.

Learn C first, just the ABCs as a precursor, then something higher level like Java or C#. C# is the Microsoft solution, Java is everyone else. Perl is used mainly for system administration and stuff to do with text processing, etc. What you want is Java probably.

This book is good:

http://www.amazon.com/exec/obidos/tg...glance&s=books

  #19  
Old 04-20-2004
MrGaribaldi's Avatar
TechSpot Ambassador
 
Location: Babylon 5, Grid Epsilon
Member since: Feb 2002, 2,802 posts
I'm currently studying Java at the university, and after having been highly sceptical of it I must admit it is a very versatile language.

All programs you create will be able to work on any system that that the JVM is available on, it's quite intuitive and not too hard to get into.


I would not learn C first.
This is because, as Phantasm says, Java and C++ (and C# (if one can call that a language on it's own)) is an Object-Oriented Programming language (OOP) and thus has a radicly different approach on how to do things.

While learning C would teach you a lot you might/will use later, it would also mean learning an "outdated" programming "thinking" and then OOP.
(I had a hard time going from VB to Java, and VB is a much more OOP than C will ever be)


Why learn Java instead of C++?
Java will work on any system with a JVM on it, whereas in C++ you'll have to change your code to port from one platform to another.
Java is a language which is very much oriented towards Distributed Computing, with class libraries to get everything set up easily.
Java is a powerful language who's programs can either be run as stand-alone programs, or (with very little modification) be run in a web-browser
And lastly, Java is becoming (if it has not allready) the defacto language at universities. Thus if you learn Java, a degree could be within your grasp

No matter if you choose Java or C++, they're quite similar languages (with Java being based on C++) so it won't be too hard to learn one if you know the other.


When it comes to what book to use to learn programming, I have a couple of suggestions.

For C++ I've found "C++ A Beginners Guide" by "Schildt" from "Osborn publishing" to present everything in an easily grasped way. (But read in it a bit before you buy it make sure you feel the same)

For Java, I don't have a book I can recommend (although Schildt has written a book about Java too). But I have a couple I can warn you about.
Do not buy JavaGently 2ed. It is absolute crap, and should never have existed!
3rd edition is ok, but has one great let-down. It uses special classes to teach you.

When getting a book to learn programming, I highly suggest staying away from the books that uses special classes to make it easier for you. Especially if they use it for more than reading from keyboard/file and to file/screen, but also for GUI programming etc.
The reason I say this is that after you've done learning those special classes, you have to learn what Java really uses.
Yes, Java's standard might be a bit hairy in the read/write op I listed above, but you won't be finding yourself coding with commands no-one but those who's read the book know about.

If you're on the University, it's another matter again, as there you will learn the "real" way of doing it too, they're only "dumbing it down" for the first few courses.

One last thing when it comes to which book to buy. Buy a highly rated, but "slim" (5-600 pages) book.
You don't need a bible to get started in programming, and getting one will only frustrate you until you know enough to make sense of it.
Check out what is recommended at Amazon.com, then go to a regular bookstore and read a bit in the book.
If you get a book with high ratings, but you can't understand/don't like the approach it's worthless!

Also making sure you get a good book you understand will make learning the language eaiser (as you won't sit there wondering what the h... is going on as I did with Java Gently 2ed).

Hope this helps you in choosing language and book
  #20  
Old 04-21-2004
me(who else?)'s Avatar
TechSpot Booster
 
Location: Ontario, Canada
Member since: Nov 2003, 433 posts
I learned how to program in Vb when I was 11, so I already knew how to program (a bit) when I started Java. VB's really easy (4-gen I think), when you add items you place them on the form where you want them, etc. It sucks for anything complicated (calling APIs , directx, etc)but you can make simple apps with t pretty quickly.
Closed Thread
Page 1 of 3 1 23

Similar Topics
Topic Replies Forum
BASIC Programming Language? 12 General Discussion
Learning a Programming Language.. Where to start? 3 Software Apps
Microsoft presents a new programming language, F# 0 General Discussion
Which BASIC programming language to use?? 5 Software Apps
Favourite programming language 32 Software Apps

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 09:51 PM.