Go Back   Android Forums > Android Community > The Lounge > Computers & IT



Reply
 
LinkBack Thread Tools
Old January 28th, 2009, 07:49 AM   #1 (permalink)
New Member
 
SuperRon's Avatar
 
Join Date: Jan 2009
Location: Manchester, UK
Posts: 14
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Computer Programming

Hi Everyone,

I am interested in learning computer programming such as C++, Java, HTML etc. and just wondered if anyone could tell me which is best to learn first.

Also if you know of any good websites that can teach you the stuff.

Cheers

SuperRon

SuperRon is offline  
Reply With Quote
Sponsors
Old January 28th, 2009, 08:00 AM   #2 (permalink)
Community Manager
 
Phases's Avatar
 
Join Date: Sep 2008
Location: Nashville, TN
Posts: 4,887
 
Device(s): Galaxy Nexus
Thanks: 243
Thanked 6,626 Times in 1,383 Posts
phases78@gmail.com
Default

There's a ton out there on the googles. Just search for "[whatever] tutorials".

I've used this site a little for introductory stuff. (web stuff) I liked it.

http://www.tizag.com/

I couldn't help ya with what order to learn stuff in, I only mess with html/php/sql.
__________________
Every forum should have a Phases.
Phases is offline  
Last edited by Phases; January 28th, 2009 at 08:01 AM.
Reply With Quote
Old January 28th, 2009, 08:18 AM   #3 (permalink)
Senior Member
 
Ageless Stranger's Avatar
 
Join Date: Dec 2008
Location: Northamptonshire
Posts: 647
 
Device(s): G1, Samsung Galaxy S2
Thanks: 6
Thanked 32 Times in 24 Posts
Default

First of all there is no "best" language to learn first, the best thing to learn first are the concepts of software design. I would even go as far as saying it is important to understand hardware architecture, number base systems, logic and bit manipulation before delving in to languages and syntax (although you can skip these but you might end up wishing you hadnt)

Now C is my favourite language, once you get your head around pointers the rest of the language is childs play. If you know C you can easilly adapt to C++ and Java as the syntax is very similar.

Now what language is best to learn? First ask yourself how to get from A to B, more specifically what A and B are? In other words, why do you want to learn to program? What are your objectives? Do you want to write web applications, games, desktop applications, embedded applications? What you want to do with your program is dependant on what language you will write it in.

For the Web, you might as well learn the concepts and structure of HTML, XML, Java, Javascrip and PHP for starters.

For games, well you are best learning C and C++

For applications, you are best learning C and C++ (unless you want to write for mobile devices then Java will help too)

For embedded systems you will need to know C,C++ and assembler and any language dependencies on the system you are writing for.

Assembler I hear you gasp? I love it, it is essential if you want to debug at a low level.

So much information, so many choices. Sorry its the best I can do with the limited information I have about what you want to do.
__________________
Thyme wounds all heals
Ageless Stranger is offline  
Last edited by Ageless Stranger; January 28th, 2009 at 08:19 AM.
Reply With Quote
Old January 28th, 2009, 11:41 AM   #4 (permalink)
New Member
 
SuperRon's Avatar
 
Join Date: Jan 2009
Location: Manchester, UK
Posts: 14
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply's.

I was originally wanting to learn so that i could try and create my own small applications for Android as i had a few ideas for nice apps.

But i would also like to create my own webpage.

SuperRon
SuperRon is offline  
Reply With Quote
Old January 28th, 2009, 04:48 PM   #5 (permalink)
Premium Member
 
Cryptic79's Avatar
 
Join Date: Sep 2008
Location: St. Louis, MO
Posts: 578
 
Device(s): HTC Evo 4G - CM7 RC2
Thanks: 4
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by SuperRon View Post
Thanks for the reply's.

I was originally wanting to learn so that i could try and create my own small applications for Android as i had a few ideas for nice apps.

But i would also like to create my own webpage.

SuperRon
For Android, it's Java.

For web, I prefer ASP.NET with either VB.NET or C#.NET for the "real" code.
__________________
"Our give-a-crap level was like at zero." --John Anderson, Atlanta Thrashers

Cryptic79 is offline  
Reply With Quote
Old January 30th, 2009, 01:17 AM   #6 (permalink)
New Member
 
Join Date: Nov 2008
Location: Washington
Posts: 13
 
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
Default Suns Java Tutorial

A decent place to start online is at Sun's Java Tutorial site. But if you truly want to go through the whole process of learning a language by yourself, you gotta be patient. It's tough to start off from zero and dive right in...I did it, but it was way (wayyyy) back on the Apple IIe with Applesoft Basic, much (MUCH!) easier to learn.

Anyway, give it a go, start off with the easy stuff, and don't give up! Good luck!

Another course may be to find an Java/Android programmer near by and see if they want to collaborate with you to help get your ideas going. An hour with someone who knows what they are doing is priceless!
mmaitlen is offline  
Last edited by mmaitlen; January 30th, 2009 at 01:20 AM.
Reply With Quote
Old January 30th, 2009, 01:24 AM   #7 (permalink)
New Member
 
Join Date: Nov 2008
Location: Washington
Posts: 13
 
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
Default Ruby on Rails ain't bad either for web dev

As far as the web stuff, you may also check out Ruby on Rails...seriously easy to get something simple going. And as long as you aren't building out a huge back end infrastructure architecture, it's more then adequate (imho).
mmaitlen is offline  
Reply With Quote
Old November 10th, 2009, 12:12 AM   #8 (permalink)
Member
 
MotoDroidHelpandInfo's Avatar
 
Join Date: Nov 2009
Location: NJ
Posts: 190
 
Device(s): Motorola Droid
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Java is good to learn. It's getting very very popular. It also helps for developing android apps. Also try a book store. Some are extremely boring others are a great way to pass the time.
__________________
Please Subscribe To:
MotoDroidHelpandInfo is offline  
Reply With Quote
Old November 14th, 2009, 08:32 PM   #9 (permalink)
Junior Member
 
Join Date: Nov 2009
Location: Kansas
Posts: 95
 
Device(s): Evo
Thanks: 6
Thanked 11 Times in 10 Posts
Default

I would try to learn the concepts of object oriented programming (OOP) before I picked up a language (assuming you've got the core programming concepts understood: variables, conditionals, loops, and functions). I don't have a good reference for learning "pure" OOP (and in fact almost any reference is going to use sample code in some real world language).

Trying to learn a modern language before you understand OOP will leave you not fully understanding why the languages are the way that they are. For example, when you get to collections of objects in Java, you'll probably be very confused when they keep talking about Lists but you find that the compiler won't let you create just a List. Then you'll find the ArrayList and start using that, but then you'll ask yourself "why would anybody mess around with List when you can just use ArrayList and have it work?". At that point you'd be missing the entire point of OOP.

Once you grok OOP, I'd go for one of Java, or C#. After that I'd learn about how the browser cycle works (HTTP requests, responses, that kind of thing) and then pick up PHP or ASP.

I would never bother with C unless you were looking to write a compiler, an operating system, or very low level embedded code. There are things which are perfectly moral (and necessary) in C that are the equivalent of inhuman crimes in more modern languages. For example, in C it is not unheard of to take a pointer, figure out some arbitrary number of bytes away from that pointer, start grabbing bytes from that location, and cramming those bytes into some array somewhere. In Java, C#, PHP, Ruby and other modern languages doing that would crime against humanity because it's asking (more like begging) for your code to crash.

And of course, bottom line, Android apps are written in Java (though you won't necessarily have access to all the same stuff that you do when, say, you go through Sun's Java tutorials).
big_z is offline  
Reply With Quote
Old November 16th, 2009, 09:31 PM   #10 (permalink)
New Member
 
Join Date: Nov 2009
Location: Townsville Australia
Posts: 11
 
Device(s): Motorola Milestone (UK version)
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Having just finished my first year of an IT degree this is what we studied as our 'first' programming languages - C++ and Java. (Actually found them rather similar to one another as well)

Neither of them at my beginner level are what I considered hard, and once you start picking up the basics you will find its a matter of learning the rest of the language in 'steps' so to speak, as in once we had the basics, I found that writing basic code was able to be expanded upon, and do more things once you got deeper into the language.

Remember, its all about algorithms (and pseudocode and flowcharts)!
geekygrl is offline  
Reply With Quote
Sponsors
Old November 24th, 2009, 11:32 AM   #11 (permalink)
Owner of Banlandia
 
twospirits's Avatar
 
Join Date: Oct 2009
Location: Queens, NY
Posts: 4,688
 
Device(s): Moto Photon 4G, Lenovo Thinkpad tablet 32GB, HTC EVO 4G, HTC Hero, Notion Ink Adam, Galaxy Tab
Thanks: 3,000
Thanked 3,087 Times in 1,055 Posts
twospirits411
Default

outstanding thread.
__________________
Members, want to make this place better, just ask the staff. Remember, the "No' is always there, you are just looking for the "Yes". and please read the guidelines, otherwise you may end up in Banlandia.

Google + and twitter user.
twospirits is offline  
Reply With Quote
Old January 15th, 2010, 02:33 PM   #12 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Here is one site where you can find a lot of information about programming form builder
stoyv is offline  
Reply With Quote
Old January 22nd, 2010, 11:36 AM   #13 (permalink)
Junior Member
 
neemo6's Avatar
 
Join Date: Nov 2009
Posts: 55
 
Device(s): Moto Droid
Thanks: 1
Thanked 1 Time in 1 Post
Default

Great thread, I went back to school to a community college to learn programming. Im wanting to learn C/C++ and Java, and learn some basics of networking.
neemo6 is offline  
Reply With Quote
Old February 20th, 2010, 10:35 PM   #14 (permalink)
Senior Member
 
SoulTerror's Avatar
 
Join Date: Feb 2010
Location: North Carolina
Posts: 712
 
Device(s): HTC Evo 4G and HTC Evo Shift (wifes)
Thanks: 29
Thanked 44 Times in 37 Posts
Send a message via AIM to SoulTerror
Default

W2schools.com JavaScript Tutorial is a good site. I'll actually be taking my first Java class next semester online, so I'm pretty excited about that. I'm hoping one day to be writing some apps, but probably not for a long time.
SoulTerror is offline  
Last edited by SoulTerror; February 20th, 2010 at 10:36 PM.
Reply With Quote
Old February 26th, 2010, 05:13 PM   #15 (permalink)
GIR
Junior Member
 
GIR's Avatar
 
Join Date: Feb 2010
Location: UK
Posts: 97
 
Device(s): ZTE Racer
Thanks: 21
Thanked 7 Times in 7 Posts
Send a message via Skype™ to GIR
Default

I'd recommend python for quick results, but its not always so great for any heavy lifting such as image processing, but it gets results. There are a LOT of python tutorials, and there is almost no limit to what can be done with it.

If your really determined to learn more about programming then I suggest you visit microchip.com, and have a look into PIC chips.
Learning assembler and about real-time programming, even with something a trivial as blinking a LED, or making tunes with speaker will really open your eyes as to what is possible.
There are many easy to follow schematics for PIC flashers to get your code into the chip, as well as many sites with projects for pics - one of my favorites is hackaday.com. If your wise enough to be running Ubuntu there is the piklab (piklab.sourceforge.net) for putting the PIC code together.

Hope this of use,
GIR
GIR is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Community > The Lounge > Computers & IT User CP
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming menu prj Eris - All Things Root 4 September 13th, 2010 06:49 PM
How do I connect Evo to Pc over wifi (computer to computer) richmath HTC EVO 4G 9 July 12th, 2010 09:57 AM
New to programming.... LEVEND1Z Application Development 5 March 3rd, 2010 09:55 AM
Programming on the go.. confuded Application Development 0 November 17th, 2009 06:57 PM
Programming on G1 killachaos T-Mobile G1 3 June 10th, 2009 04:10 PM



All times are GMT -5. The time now is 08:47 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo


SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.