programming

ding5550123

Senior member
Jan 3, 2006
305
0
0
I am trying to learn a programming language. I'm thinking JAVA. It's my first language. It needs to be free. It also needs to be compatible with XP. Witch is best?
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
What kind of programming?

C / C++ are used for application development more than C# or java. C# is used for a lot of corporate internal-use programs, java is used mostly for linux/othernix server-side development.
 

mundane

Diamond Member
Jun 7, 2002
5,603
8
81
If you're doing this on your own, you're facing an uphill battle. All three of the languages varieties mentioned (C/C++, C#, and Java) have decent online guides for first-time programmers. I'd like to also put up a vote for Python. It's a very, very simple language to learn, and except for the white-space strictness, a very forgiving language. The downside is that you might pick up some practices that a) can't be easily applied to other languages or b) are bad form in those. With the addition of wxPython and wxWidgets, you can make graphical applications with surprising ease.

BTW, all languages mentioned so far in this thread are compatible with XP. And with the introduction of the Mono project (for C#), all can be used on *nix as well.
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
Originally posted by: DaveSimmons
What kind of programming?

C / C++ are used for application development more than C# or java. C# is used for a lot of corporate internal-use programs, java is used mostly for linux/othernix server-side development.

Coming from a C++ developer with 18 years of experience, don't start there . There's a lot of threads here going into why in detail.

C# and Java are reasonable places to start. Visual Basic is even more reasonable. Python has been mentioned, and there's Ruby as well.

You want something high level where you can focus on program architecture, algorithms, flow control, branching, variables, etc., and not get swept up into complicated build environments and low-level constructs like pointers.

Pascal is also still a pretty good choice. It's always been my experience that the concepts you need to master translate well from one language to another. In my day-to-day work and farting around I am routinely flipping between C#, VB, Java, HTML, XML, CSS, and Javascript.
 

IceBreakerG

Member
Apr 22, 2005
121
0
0
I'd say C#. C++ is used more, but it also had like a 30yr head start over C# too. So its an unfair comparison. But in all fairness, C# and java are based off of C++. I started out programming in VB4, then moved to VB6, then VB.NET, .NET 2003 and now .NET 2005. Since .NET 2.0 framework came out, i've kinda stopped programming in VB.NET and switched to C#. C# is a very nice programming language, and like beggerking said, just go to Microsoft's website, and you can get Visual Studio 2005 Express for free. Thats a great deal byself even if you don't plan to use every language (keep in mind, with vb.net and C# you can code asp.net pages with ease). Here's the link to the Visual Studio Express site:

http://msdn.microsoft.com/vstudio/express/default.aspx
 

Stuxnet

Diamond Member
Jun 16, 2005
8,392
1
0
I agree that C# is a good place to start. I've slung Java, C#, and VB.NET professionally and I don't think Java is the best beginner's language now that .NET is as mature as it is. On the surface Java isn't difficult, but when you get into the nitty-gritty, .NET is simpler and more forgiving. I say C# simply because that seems to be the trend (over VB.NET), but it's not unreasonable to expect a developer to know both. Heck, they're practically the same language... syntax alone separates them (for the most part). A lot of developers make a huge fuss over which they should learn, when in fact, if you know one well, the other can be picked up in a matter of hours or days.

C#/VB.NET can be free. Visual Studio Express + SQL Express = no excuses.
 

professor1942

Senior member
Dec 22, 2005
509
0
0
Another vote for C#... you can start with an introductory Java book though and switch over easily since the two languages are practically identical.

There's an excellent book by Barnes and Kolling out there (Objects First with Java) which does a good job of teaching OO concepts and basic programming principles. Once you've gone through that, you'll be able to figure stuff out on your own pretty easily.

C++ is a pain in the rear
 

Stuxnet

Diamond Member
Jun 16, 2005
8,392
1
0
Professor brings up a good point. As a beginner, your primary goal right now should be forming a solid OO foundation. I can't tell you how many developers I've met (and work with), at all levels (junior to senior to leader) who have no OO understanding whatsoever. It's a real pain in the ass, and with the proper understanding of those concepts, you'll set yourself apart from 90% of the other code jockeys out there.
 

beggerking

Golden Member
Jan 15, 2006
1,703
0
0
vb.net vs c# is really a non issue.. they both compile to the same MSIL and run on the same CLR, so its basically the same language only depends on preference.

that said, vb is the more beginner friendly language and has some useful classes to help things out.

C# has a more widely adapted syntax ( as in jscript etc). Its case sensitive and that helps in making you a better programmer.

IMHO, you should start with vb.net then pick up C#.
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
Originally posted by: jbourne77
Professor brings up a good point. As a beginner, your primary goal right now should be forming a solid OO foundation. I can't tell you how many developers I've met (and work with), at all levels (junior to senior to leader) who have no OO understanding whatsoever. It's a real pain in the ass, and with the proper understanding of those concepts, you'll set yourself apart from 90% of the other code jockeys out there.

Object-oriented concepts are important, but if the OP is just starting out then frankly it's not a big concern, imho. First, just about any popular language he chooses will have support for basic OO concepts at this point. It'll be there for him when he can grasp it. Second, until a beginner understands the basics of variables, stepwise execution, branching, operations, algorithms, and decomposition of a problem into functional/procedural elements and data, OO ideas will be more or less lost in the fog.
 

Cooler

Diamond Member
Mar 31, 2005
3,835
0
0
C/C++. Once you learn this any other language is piece cake. C/C++ allows for high and low level accessed. (you can write in asm ect) . C# is another good choice but since it is made by Microsoft the standard is constantly changing and lack of few features such as multiple inheritances make it a turn off in my opinion. Of course C# has a lot of base classes for rapid window development. Java is nice too but most places I work with only use java as a last resort as it is indeed slower(not complied into binary untill runtime) and does not allow direct low level access at all.
 

ding5550123

Senior member
Jan 3, 2006
305
0
0
Originally posted by: DaveSimmons
What kind of programming?

C / C++ are used for application development more than C# or java. C# is used for a lot of corporate internal-use programs, java is used mostly for linux/othernix server-side development.

it's really just local apps for kepping tabs on stuff.
 

ding5550123

Senior member
Jan 3, 2006
305
0
0
Originally posted by: diegoalcatraz
If you're doing this on your own, you're facing an uphill battle. All three of the languages varieties mentioned (C/C++, C#, and Java) have decent online guides for first-time programmers. I'd like to also put up a vote for Python. It's a very, very simple language to learn, and except for the white-space strictness, a very forgiving language. The downside is that you might pick up some practices that a) can't be easily applied to other languages or b) are bad form in those. With the addition of wxPython and wxWidgets, you can make graphical applications with surprising ease.

BTW, all languages mentioned so far in this thread are compatible with XP. And with the introduction of the Mono project (for C#), all can be used on *nix as well.

I've tried Python but the online manual were confusing. (Might've looked in the wrong spot)
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Online manuals for every language are going to be confusing if you don't know how to program.
 

mundane

Diamond Member
Jun 7, 2002
5,603
8
81
Originally posted by: ding5550123
Originally posted by: diegoalcatraz
If you're doing this on your own, you're facing an uphill battle. All three of the languages varieties mentioned (C/C++, C#, and Java) have decent online guides for first-time programmers. I'd like to also put up a vote for Python. It's a very, very simple language to learn, and except for the white-space strictness, a very forgiving language. The downside is that you might pick up some practices that a) can't be easily applied to other languages or b) are bad form in those. With the addition of wxPython and wxWidgets, you can make graphical applications with surprising ease.

BTW, all languages mentioned so far in this thread are compatible with XP. And with the introduction of the Mono project (for C#), all can be used on *nix as well.

I've tried Python but the online manual were confusing. (Might've looked in the wrong spot)

It can be confusing. If you're still motivated to try it, once you've downloaded and installed python, visit Getting Started to get the basic concepts. In a few hours, you'll know how to program in Python, or at least the syntax. The catch is there's still many, many libraries to learn and the appropriate programming patterns (but that's true of any language).
 
Sep 29, 2004
18,656
67
91
Originally posted by: DaveSimmons
What kind of programming?

C / C++ are used for application development more than C# or java. C# is used for a lot of corporate internal-use programs, java is used mostly for linux/othernix server-side development.

Java is also used on atleast one safety critical military system worked on. Albeit, as the GUI for it. Java is gaining ground there which is BIG!
 
Sep 29, 2004
18,656
67
91
IMHO, learn Java.

Here is your development environment.
http://www.eclipse.org/

Go DL Java 1.5 (or is it 5 now???) and install

Profit.

Just learn a hello world program. Google is your friend

Afte you get the hang of it, you should then try out C/C++ or (fearrr) C#. C# is a crappy version of Java, just so you know. Just Microsoft trying to monopolize yet another industry.

You should atleast give C++ a whirl down the road just so you understand memmory alocation better.
 
Sep 29, 2004
18,656
67
91
Originally posted by: jbourne77
Professor brings up a good point. As a beginner, your primary goal right now should be forming a solid OO foundation. I can't tell you how many developers I've met (and work with), at all levels (junior to senior to leader) who have no OO understanding whatsoever. It's a real pain in the ass, and with the proper understanding of those concepts, you'll set yourself apart from 90% of the other code jockeys out there.

Software sucks .. but it's the only field that is constantly evolving. It's not like a structural engineer that just needs to deal witha different materials different constants.

Anyways, alot of older programmers that did structured programming have a hard time coping with OO. It's not their fault really. They have kids alot of the time and families. Prioorities change is all. I should state that I was in schol as OO was just starting to take off (about 10 years ago). So I understand how hard it can be learning OO software first hand. I am a pro now though

Anyways, the point is true. You ned a firm grasp of OO, not a particular language. Go with Java because it's simply easier to learn and the concepts are what matter most. Once you understand hte OO concepts, learning a language is essentially a non-issue.
 

fierydemise

Platinum Member
Apr 16, 2005
2,056
2
81
I just started learning C++ a few months ago from a book and I didn't have any problems getting into it, I did have a little experience with basic but I was basically starting from nothing. I haven't had any real problems picking up C++ so I'll vouch for it not being too tough.
 

SleepWalkerX

Platinum Member
Jun 29, 2004
2,649
0
0
I'd personally encourage java as you wouldn't need to recompile or anything for cross-platform compatibility. Then I would be able to run it in linux.

Get Eclipse if you decide to go with java. Its an awesome ide.
 
Jun 6, 2005
194
0
0
You probably want to begin with Java or C#. I wouldn't recommend VB, the syntax is a bit different in the sense that you don't use brackets to enclose scopes etc. But I also encourage you to learn C/C++ because you will gain a better understanding of memory management as Java and C# has a built in garbage collector. I know tons of people who've been spoiled with that feature and have no clue how variables and objects are stored or how references functions. Start off with learning the basic idea of how to program in a high level language, get Java it's easy and free and relatively easy to install and setting up the environment. Java's website also have a very useful API for you to look up.
 
Jun 6, 2005
194
0
0
Originally posted by: SleepWalkerX
I'd personally encourage java as you wouldn't need to recompile or anything for cross-platform compatibility. Then I would be able to run it in linux.

Get Eclipse if you decide to go with java. Its an awesome ide.

actually i believe he should try textpad first before he jumps into getting a true IDE, right now he needs as much independent coding as possible
 
Mar 6, 2006
109
0
0
Originally posted by: leggomyeggroll
Originally posted by: SleepWalkerX
I'd personally encourage java as you wouldn't need to recompile or anything for cross-platform compatibility. Then I would be able to run it in linux.

Get Eclipse if you decide to go with java. Its an awesome ide.

actually i believe he should try textpad first before he jumps into getting a true IDE, right now he needs as much independent coding as possible


I agree, complex IDEs hide away details that a beginner programmer needs to know, such as Servlets registration in the web.xml in Java web apps. And don't get me started on Wizards :disgust: For Java I'd recommend JCreator Lite (http://www.jcreator.com), it's basically a glorified text editor for Java.

IMO you should start with either Java 1.5 and C#.NET 2005, once you learn one it's fairly easy to transition over to the other. Both are fairly big players in the industry right now, so you'll stand a good chance of getting a job. Once you're proficiant in those then you could move onto low level C++ if you wanted to.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |