শুক্রবার, ৭ ডিসেম্বর, ২০১২

Questions for Java programmers - Computers, Math, Science, and ...


kxmode
Bible Student
Supporting Member

Joined: Oct 15, 2007
Posts: 2634
Location: In your neighborhood, knocking on your door. :)


Back to top
Trencher93
Toucan
Toucan

Joined: Jun 24, 2008
Age: 112
Posts: 287


PostPosted: Thu Dec 06, 2012 7:01 am?? ?Post subject: Re: Questions for Java programmers Reply with quote

kxmode wrote:
Does learning Java help establish a foundational knowledge of programming?

Not necessarily. You can learn Java without learning the fundamentals of programming. I'd recommend a really good Java book like Bruce Eckel's "Thinking in Java" that teaches both.
kxmode wrote:
Once someone gets comfortable with Java can they jump into other programming languages like C#?

There are a group of similar but different languages including (but not limited to) Java, C++, C#, Objective-C, and Python. They're similar in how they derive their basic syntax from C, but can be quite different in many other aspects.

The more languages you learn, the easier it is to learn the next language. This is also a problem, since the more languages you learn, the harder it is to remember any one language because they're all similar but different.

kxmode wrote:
Is it true you can create a game from the ground up with Java?

Yes. Not my area of expertise, but people have written games in Java.
kxmode wrote:
How are Java files encrypted so that people cannot peek into them, or can they no matter what?

Learn more about Java before asking! The way you ask shows you don't know enough about Java to ask this question yet.
kxmode wrote:
Is Java a programming language like Assembly?

No, Java is a high-level language which is compiled to assembly, which in Java's case is the JVM.
kxmode wrote:
Between Java and C# which is better to learn for (1.) web? (2.) game development?

Learn more about both before asking! What's better for driving, a car or a truck?
kxmode wrote:
Are Java and JavaScript related?

No. The name "JavaScript" is an unfortunate choice which has forever linked the language to Java. Call it ECMAScript.

JavaScript is an interesting language to learn, because it is a dynamic language that can be used for functional programming, and very different from Java or C#. That's what I mean when I say similar but different. JavaScript shares a superficial syntax with Java, but the language is remarkably different in emphasis.

kxmode wrote:
Please share any other information. Thanks!

Google is your friend. Use it to do research.

Probably what you want to do is learn about programming, using something like O'Reilly's "Practical Programming" book. Then learn about Java in general. ("Thinking In Java" is good.) Then learn about the domain you want to work in, such as game programming. If you want to learn about game programming, learning linear algebra and matrix theory will be a must (check out Dover's math books on this topic), as well as computer graphics.

Back to top
Vectorspace
Yellow-bellied Woodpecker
Yellow-bellied Woodpecker

Joined: Oct 04, 2012
Age: 23
Posts: 66
Location: Germany


PostPosted: Thu Dec 06, 2012 1:31 pm?? ?Post subject: Re: Questions for Java programmers Reply with quote

kxmode wrote:
Does learning Java help establish a foundational knowledge of programming?
Once someone gets comfortable with Java can they jump into other programming languages like C#?

Depends.
Java teaches you the concepts of imperative and object-oriented programming. It doesn't teach anything about low-level stuff or functional programming.
AFAIK, C# is quite similar, though I don't know C#.

Java is popular and not that hard, so it's probably a good language for beginners.
I don't like Java that much, though.

Quote:
Is it true you can create a game from the ground up with Java?

Minecraft should suffice as an example.
Java code is generally a bit slower than code written in languages like C++, and it's also very memory-hungry.
Quote:
How are Java files encrypted so that people cannot peek into them, or can they no matter what?

They're compiled into bytecode, which can be decompiled.
Quote:
Is Java a programming language like Assembly?

They're both programming languages, but it's really a different experience.
(You only need to code in Assembly if you need really fine control over what's going on.)
Quote:
Between Java and C# which is better to learn for (1.) web? (2.) game development?

No idea. C# usually means you'll be doing .NET stuff.
Quote:
Are Java and JavaScript related?

Not really. But I won't bother you with typing paradigms right now.

Final remark: If you want to learn about programming, go on. If you only want to make a game, you'll be disappointed. Programming is not easy and involves a lot of theory...

Back to top
Evinceo
Toucan
Toucan

Joined: Apr 14, 2012
Posts: 255


Back to top
Vectorspace
Yellow-bellied Woodpecker
Yellow-bellied Woodpecker

Joined: Oct 04, 2012
Age: 23
Posts: 66
Location: Germany


PostPosted: Thu Dec 06, 2012 4:53 pm?? ?Post subject: Reply with quote

I should have mentioned:

You may want to start by finding a game that supports Lua scripts. It's a really simple programming language.
Try to modify existing script.
This way, you can achieve visible effects after a few days.

You can try writing a Blobby Volley bot. (It's really fun if you know a little bit of physics. One of the official bots was actually written by me when I was bored after finishing High School ? and it was the strongest one at that time. Smile)

If you want to stick to Java, try Greenfoot. It's a platform that teaches Java via games.

Back to top
Trencher93
Toucan
Toucan

Joined: Jun 24, 2008
Age: 112
Posts: 287


PostPosted: Thu Dec 06, 2012 4:54 pm?? ?Post subject: Re: Questions for Java programmers Reply with quote

Vectorspace wrote:
If you want to learn about programming, go on. If you only want to make a game, you'll be disappointed. Programming is not easy and involves a lot of theory...

I totally agree with Vectorspace's statement. There is only so far anyone can go with programming, without understanding the theory behind it. Check out Paul Suppe's book on axiomatic set theory, or Erich Kamke's book (both from Dover and both good introductions), and see if that sort of thing interests you.

Game programming is one of the most mathematically intense areas of computing, since it involves build a model of your world (data structures), drawing it (graphics which involve matrices and linear algebra), and AI.

Java is certainly a good candidate for simple games, for beginners, since it is an easier language, but games are probably written more in C++ than either Java or C#, both of which have runtime platforms (JVM and .NET) which aren't all that fast. C++ is not trivial.

Back to top

Source: http://www.wrongplanet.net/postt217340.html

Perez Hilton national weather service kristen stewart Christian Bale Sherman Hemsley Olympics Opening Ceremony abc

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন