Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > 2+2 Communities > EDF

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2007, 11:48 AM
ArturiusX ArturiusX is offline
Senior Member
 
Join Date: Sep 2004
Posts: 9,762
Default Learning java with no programming language experience, where to start?

I thought EDF might be a good place to ask this question, it seems we have a lot of bright individuals here who could give me some good advice.

My day job would be greatly enhanced if I could learn java to code some apps to assist me. Trouble is, I suck at programming. I've never really programmed apart from some basic HTML stuff for some random sites, and some qbasic I did in school many eons ago. Is there any hope for me as a coder? What should I guy like me do to earn this new skill?
Reply With Quote
  #2  
Old 10-10-2007, 11:59 AM
El Diablo El Diablo is offline
Senior Member
 
Join Date: Sep 2002
Location: Parts Unknown
Posts: 33,802
Default Re: Learning java with no programming language experience, where to st

Arturius,

What types of apps are you talking about?

If you really need java and don't have any programming experience, I think either taking a class or getting some books will be required. O'Reilly is my favorite tech publisher, looks like they have a number of good options. Here are a couple:

http://www.oreilly.com/catalog/hfjava2/ - Head First Java
http://www.oreilly.com/catalog/learnjava3/ - Learning Java

O'Reilly books are generally geared towards a more technical audience, though Head First Java looks more like a general interest publication.

I'm sure there's a Java for Dummies book out there that might also be helpful.

If what you really need is to build simple web apps, then you might not need a full programming language and only need to learn JavaScript or PHP or some other scripting language. These are much, much easier to learn and I'm sure you could find web resources that would be sufficient to help you learn those.
Reply With Quote
  #3  
Old 10-10-2007, 12:04 PM
napkins napkins is offline
Senior Member
 
Join Date: Jan 2006
Posts: 606
Default Re: Learning java with no programming language experience, where to st

Read some beginner stuff and look over tutorials. From there you should be able to get a grasp of what the language is about and start programming.

Once you get the basics down everything else you can pretty much learn on the fly.

Of course if you're aiming at making some complex programs you definitely want to plan everything out as much as you can. So, perhaps what I just said wouldn't apply to the apps you're trying to make.
Reply With Quote
  #4  
Old 10-10-2007, 12:59 PM
mmbt0ne mmbt0ne is offline
Senior Member
 
Join Date: Aug 2004
Location: Back in ATL
Posts: 12,169
Default Re: Learning java with no programming language experience, where to st

Yeah, like ED said, don't learn Java if you don't have to. PHP, for instance, is much easier in my experience. I also hear that Ruby on Rails is really easy, but I haven't used it for anything or even looked into it myself.

Maybe you could give us an idea what kind of apps you want to create and we could tell you what to learn?
Reply With Quote
  #5  
Old 10-10-2007, 01:45 PM
ArturiusX ArturiusX is offline
Senior Member
 
Join Date: Sep 2004
Posts: 9,762
Default Re: Learning java with no programming language experience, where to st

Don't worry, I'm not making complex programs. The software I use has the option to code using a java based language to create apps you can run within the program.

I don't need to be running projects, just know the rules, the lingo, and common pitfalls while coding.
Reply With Quote
  #6  
Old 10-10-2007, 01:50 PM
durron597 durron597 is offline
Senior Member
 
Join Date: Apr 2004
Location: Folding
Posts: 30,000
Default Re: Learning java with no programming language experience, where to st

The most important thing to learn when learning Java is the general concepts of Object-Oriented programming. If you don't learn this type of stuff NOW, you will develop bad habits that will take a ton of work and years to overcome.

Two major things to keep in mind (in addition to the above stuff)

1) DON'T BE AFRAID TO MAKE A NEW CLASS IF YOU THINK IT MIGHT BE A GOOD IDEA. I cannot stress this enough. There's a general 'fear' of making new classes, making more files etc. and instead try to do everything in your main class. DON'T LET THIS BE YOU.

This will make more sense after you read:

2) http://java.sun.com/docs/books/tutorial/java/concepts/
Reply With Quote
  #7  
Old 10-10-2007, 01:50 PM
whodaman whodaman is offline
Senior Member
 
Join Date: Dec 2004
Posts: 861
Default Re: Learning java with no programming language experience, where to st

i took a class in college.. seems to me you could buy any decent looking beginners book and be fine just reading that and googling any problems you have
Reply With Quote
  #8  
Old 10-10-2007, 01:52 PM
kutuz_off kutuz_off is offline
Senior Member
 
Join Date: Nov 2004
Location: New York City
Posts: 1,953
Default Re: Learning java with no programming language experience, where to st

[ QUOTE ]
Trouble is, I suck at programming. ... Is there any hope for me as a coder?

[/ QUOTE ]

Programming because you're taking a class and programming because it will make your life easier are two very different things. I also thought I sucked at programming (failed a bunch of courses in college in fact), but then at my job I got transferred into a unit where I had to write COBOL (beat [img]/images/graemlins/frown.gif[/img]) programs, and I managed quite OK. You'll do fine. Just don't try to do way more than you must, if that makes sense.
Reply With Quote
  #9  
Old 10-10-2007, 03:25 PM
Neko Neko is offline
Senior Member
 
Join Date: Jul 2005
Location: The 17th Floor
Posts: 663
Default Re: Learning java with no programming language experience, where to st

A non-java specific book I would really highly recommend to any programmer, particulary new programmers is Code Complete by Steve McConnell. This is really an excellent book about program design and how to write readable maintainable programs.
Reply With Quote
  #10  
Old 10-10-2007, 03:50 PM
tshort tshort is offline
Senior Member
 
Join Date: May 2005
Posts: 1,143
Default Re: Learning java with no programming language experience, where to st

[ QUOTE ]
My day job would be greatly enhanced if I could learn java to code some apps to assist me. Trouble is, I suck at programming. I've never really programmed apart from some basic HTML stuff for some random sites, and some qbasic I did in school many eons ago. Is there any hope for me as a coder? What should I guy like me do to earn this new skill?

[/ QUOTE ]

Are you set on Java?

I would recommend Python as a first language:

Python http://www.python.org/

or also another language similar to Python:

Ruby

Anytime I need to write a program to assist something I'm working on, I will generally use Python. Python and Ruby were designed with humans in mind rather than machine resources. I have programmed little in Ruby so can't make recommendations on resources. As for Python, there are extensive introductory materials / free online books at Python.org.

There you will find the following great and generally free resources:

BeginnersGuide/NonProgrammers Python Resources

I would also recommend considering Scheme (a dialect of Lisp). MIT uses Scheme in its introductory courses. Take a look at the MIT OpenCourseware for those with no or little programming experience. Scheme is not an object-oriented programming language. For that reason, learning Python would be more portable to other object-oriented languages.

As for Java, I don't believe I ever have had a book on Java. I previously knew how to program in C++. There are extensive free documentation and introductory materials on the web (on Sun's website). Also, programming in Java or any other language is much easier with a good development environment. For Java, I would recommend checking out the free open-source Eclipse Development Platform.

As for Python, I have use the Wing IDE.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.