PDA

View Full Version : Should i take a Java Class this semester?



TheMerryMaker
July 23rd, 2003, 08:08 PM
I need to take a java class for my GE anyhow. I would like to learn AS as quick as possible. How much would a java class improve my AS capabilities and understanding?

---I ask because i need to balence the value of a learning java with the difficulty of mixing java class with other potentialy hard classes this semester.

thoriphes
July 23rd, 2003, 08:26 PM
If you're talking strictly of Java, then you won't be able to pick up on AS as quick. If you're talking about JavaScript then you'll easily pick up AS.

The functions for JS are much the same in AS.
Java is more heavy programming. Sure you'll definitely be better at programming, but with AS's syntax and style, you'll still need to get used to some stuff.

senocular
July 23rd, 2003, 09:01 PM
Yeah javascript would be great. Learning Java along with actionscript might get a little confusing. If its Java used to teach introductory programming, though, you'll get a strong handle on programming in general which would be real good for learning AS. Then its just a matter of learning the syntax and how it works and less so much how programming works.

Danneman
July 24th, 2003, 12:25 AM
Anywho, java is a great and pretty powerful language, that has a more widespread use than most other programminglanguages. Im pretty sure you wont regret putting time into learning it.

thoriphes
July 24th, 2003, 06:34 AM
um, i believe C++ has more widespread. the applications you are using right in front of you were programmed in C++.

but Java is growing widely popular these days for web applications.

senocular
July 24th, 2003, 07:30 AM
Originally posted by thoriphes
um, i believe C++ has more widespread. the applications you are using right in front of you were programmed in C++.

but Java is growing widely popular these days for web applications.

which are more abundant than those in front of you now in C++ ;) Also Java is used in many cross-platform apps like open office and LimeWire.


... another thing is that if you get really into Java, you wont like coming down to AS. It lacks in comparison, both in capability and speed. :)

thoriphes
July 24th, 2003, 07:35 AM
Originally posted by senocular
which are more abundant than those in front of you now in C++ ;) Also Java is used in many cross-platform apps like open office and LimeWire.


... another thing is that if you get really into Java, you wont like coming down to AS. It lacks in comparison, both in capability and speed. :) and in style ;). Knowing other programming languages, I like calling Actionscript a "sloppy" language because it isn't so picky at times about data types and initializing variables. You can very easily go
x = 5; and actionscript won't budge, whereas if you tried that with most other languages (C++ especially) the compiler will go haywire and start spitting out more lines of error than there are of your code. It's insane.

mlk
July 24th, 2003, 09:52 AM
yeah. i :love: as

anyhow these are all object-oriented languages - so once you learned one the others seem a bit easier to learn...

pom
July 24th, 2003, 12:30 PM
Java and then AS is a pleasure.
AS and then Java is a nightmare.
C++ is a nightmare in itself.

thoriphes
July 24th, 2003, 12:33 PM
Originally posted by Ilyas
Java and then AS is a pleasure.
AS and then Java is a nightmare.
C++ is a nightmare in itself. agreed.
but C++ then AS then Java is completely indifferent. ;)

Danneman
July 25th, 2003, 06:33 AM
Originally posted by thoriphes
um, i believe C++ has more widespread. the applications you are using right in front of you were programmed in C++.


Maby a re-read of the post would be in order ;)


[Java] has a more widespread use than [watch out, this is a key-word] most other programminglanguages.

TheMerryMaker
July 27th, 2003, 04:22 AM
thanks for the AS-sistence (. . .oh my side. . .)

senocular
July 27th, 2003, 07:07 AM
Most widespread programming language?

Im gonna say Javascript. Sound right? Just think of how many web pages out there that use it - even if the author just used a 'make menu' button to make it happen.

thoriphes
July 27th, 2003, 08:37 AM
I dunno what you all are talking about. FORTRAN definitely has ground in this day and age. Whenever you click that Submit Reply button, guess who's doing all the work; yep, FORTRAN. When you shut down your computer, guess who's unloading all your applications, FORTRAN. When you turn on your computer, who's friendly neighborhood programming language takes action to serve power to your hardware? FORTRAN.
:P

senocular
July 27th, 2003, 08:42 AM
FORTRAN :sigh: pffft what a waste of a programming language. Who needs it! I say everything should be written in shakespeare (http://shakespearelang.sourceforge.net/report/shakespeare/). The world would then be a much more beautiful place. =)

thoriphes
July 27th, 2003, 10:02 AM
or pig-latin:

ystemSay.outay.intlnpray("elloHay olrdWay!!!");

senocular
July 27th, 2003, 10:09 AM
lol The best part is your string is iglatinpay'ed too :)

thoriphes
July 27th, 2003, 10:22 AM
meh, i was on a roll. ;)

i'd make it so that the compiler would see the string wasn't in pig-latin and throw a bunch of syntax and runtime errors.

Digitalosophy
July 27th, 2003, 02:23 PM
i took a few java classes and it helped me learn to use methods. once you know how to use methods, the concept is the same in as, you just need to learn the syntax

kO2n
July 27th, 2003, 05:56 PM
Java is an integral part of my degree. I love using it. I love programming, but that doesnt make me a geek.

Anyway, learning Java wont make you be an action script guru. But it will help you think out your problems in a more logical way. You'll be able to break problems down and reason solutions.

Saying that, learning ANY OOP language will do that to you too. Taking a Java class wont harm you. You'll learn about classes and objects, which are the key elements to a good program.

You'll learn how to link things together and how to reuse parts of your code, how to make parts of your code more efficient etc.

The only thing you'll have to work on is learning the AS syntax, which is totally different to Java. The idea is the same, just the way your go about it is different. Example:

Defining a method in Java:
private int myMethod(int aParam) {}

Defining a method in AS:
function myMethod(aParam) {}

See, the idea is there just the implementation that is different.

I think learning Java is a good thing. So go for it.

Regards,
Viru.

senocular
July 27th, 2003, 06:16 PM
Hey kO2n, did you start out on Java? What was the language they 101-ed you at? The comp-sci at my college used C, but I heard Java was starting to be used instead (well I heard this from other places and to be honest I dont know if my college is currently using C still or not). Just curious :)

kO2n
July 27th, 2003, 07:33 PM
I actually started with basic and vb but that was in my own time. At uni we are being taught Java in opposition to c or c++. More the fact that Java is slightly simpilar to learn and because of nifty little things like a garbage collector which i'm lead to believe languages like C, C++ don't have. I wont go too indepth.

C++ is still faster than Java, at the moment anyway. So more program's and applications are being made from that. However the popularity and platform independence mean that Java is steadily gaining worldwide support and is becoming a leading web language. Its a pretty secure language also, especially over the internet.

I live in the UK so our curriculumn maybe different to yours in USA. Apparently though, Java programmers are rare compared to those who can programme in C, C++ thus making Java programmers like gold dust ;).

Regards,
Viru.

senocular
July 27th, 2003, 07:38 PM
Java's strength lies greatly in its portability though - but thats also a reason for its poor performance in comparison to C/C++ because of the VM etc. But, Java also has a strong place on the web - espeically in an educational capacity. For example there are a lot of educational, uni-based applets out there for purposes of demonstrating some thing here or there, whether it be program related or not (math in general uses them a bit). And probably more importantly, web-based games and chats. But yeah, in terms of large application development, Java isnt exactly #1 ... yet ;) heh