...

View Full Version : What is the starting point for a person who wanna learn programing



THE_GAME
11-24-2008, 09:23 AM
hi,
i really don't have any knowledge about programing.
i wanted to learn programing.is it possible that i can start learning online,i mean can i do that?if so i would be thankful if u can give me some tips 4 me to start programing.
thank you!

Fou-Lu
11-24-2008, 09:39 AM
You can find anything online, it rocks! I knew 4 or 5 languages before I went to school to learn programming.

What kind of programming are you interested in? Like, web development or desktop development or both?


I should mention that I assumed you're asking more about languages. Programming is the same no matter what language you're using.

gnomeontherun
11-24-2008, 09:50 AM
Regardless of which language, I recommend buying a book for that language. So many people try to just learn online, and they tend to miss some aspects of the language because tutorials online are just not complete. They are usually intended to show one programmers method of completing a task, but don't usually offer up alternatives or explain the entire set of PHP functions.

I personally think that PHP would be a great place to start, JS is cool and has a lot of great things, but PHP gives you some more foundational abilities to make server side applications or just simple database calls. Also PHP has great documentation and a great community.

THE_GAME
11-24-2008, 10:10 AM
yes i would like to start learn g from PHP..
tell me where can i start ..i mean is there a proper website?.i looked in Google but non of the website i found helped me so far.

tell me .what does it takes to be a good programmer.

i love computers and i stay online all the time and i found that im just wasting my time by chating with people so i wanna learn some thing from internet..thank you guys 4 the reply's

gnomeontherun
11-24-2008, 10:20 AM
As I said, a book is better. Its good to get away from the computer sometimes when you are learning :) However there are tons of resources for PHP, but they will only be basic intros and a book will be needed for competency. Look up reviews on Amazon for a good book, and stay away from books older than a year. You want to learn the most recent version!

http://php.net/tut.php
http://www.w3schools.com/PHP/DEfaULT.asP
http://www.php-mysql-tutorial.com/
http://mgeisler.net/php-tutorial/

Fou-Lu
11-24-2008, 10:30 AM
PHP is a tougher one to learn via the web I'd have to say, too many articles/tutorials, generally too old and not very well written. I was lucky, I started with PHP shortly after it was created, so I learned as it was developed.

Decide on a task you'd like to perform. Always start simple. Searching becomes a lot easier (either from a book or from the web) when you know the task you want to perform.

First step - learn how variables are handled in you're chosen language and their datatyping. Can't get by without them. In PHP, we use a context defined datatype for our variables, unlike C, C#, Java, etc, but like Perl and javascript. This means we don't have to declare what our type of variables are (char/byte, int, long, double, *, struct, etc), rather they are defined in context to the data provided to them.

I've followed this format when I tutor students. It varies from language to language given different handling (ie: PHP's Superglobals and variable variables, and C#'s operator overloading for examples), but this is the overview.

Algorithms (reading and writing pseudo code)
Datatypes
Input / Output (starting simple, like print 'Hello World'; or using Scanner, cin, etc.)
Variables
Operators Lol, I knew I missed a couple from this list, can't get by without these either ;)
Arrays
Strings (depending on if its a datatype or not)
Scoping
Loops
Methods / Functions
Recursion
Objects (If available)

Using predefined objects
Scoping
Static versus non-static
Extending / Inheritance
Interface generation and usage
Dynamic binding and polymorphism

GUI (If available)
Advanced Input / Output and Formatting (Including external resources such as databases)

PHP handles all of the above except for GUI's. Algorithms are their own classification though, since they are programming dependant yet language independant.

THE_GAME
11-24-2008, 10:43 AM
hmm interesting.:)
well i did JAVA programing before and while i was doing it i found it very hard to understand JAVA becoz i didn't have any basic knowledge about programing.i mean i didn't knew what we do as programing.

so i stopped learning java then i did wed design ,but i found it easy and not interesting as programing.and yet i don't have a clue where to start my programing study's.

some of my friends said "man do java its easy"(yea 4 them its easy)
and some said do VB or C or C++ then do java coz u can find better jobs.
and some said do PHP market is now for PHP developers.

im simply lost.all i know is computer and im interested in a job in IT side.

im 21 boy from sri lanka so my English is not that good.
can u guys give me advice what to do??

thanks you very much
:)

BISKOT188
11-24-2008, 10:47 AM
hi well i m not an expert to tell you but i meet many people who are ...
well most of them told me to learn pascal for the beggining and it will open the way to the rest languages,,,well i follow their lead and can tell that i saw that they where right but of course if its a personal opinion so i would tell you if you have no where to start start with the simple staf you dont through a men in the ocean to learn him how to sweem it s the same here ...

Fou-Lu
11-24-2008, 11:05 AM
Learn Java/C# or PHP.
Don't start on C unless you've got a background in programming. It is difficult, requires extensive knowledge in memory usage and bit manipulations. PHP has a C rooted syntax though, so once you've learned PHP you can easily move to C. And you don't need to worry about the nitty gritty (most of the time anyway). C is (well, was) dangerous and really easy to damage you're computer if you made a mistake.

Java syntax and common methods are almost identical to C#. C# can be used to develop desktop and web based applications, though it is object oriented. This is where you need to decide, the world is moving object oriented for sure, but procedural code is all around us. For this, I'd choose PHP since it can be used both procedurally and object oriented (requiring at least one procedural call since it doesn't have a 'main' method as it were [actually it does, but its a 'dummied' function]).

Remember, all languages have advantages and disadvantages in different situations. As you learn more languages you can simplify tasks by selecting the appropriate languages (ie: Handling administrative features in linux with Perl or C instead of using PHP which could be used but takes more work).

I have to mention though, that Java does tend to be the best starting point. Its sandboxed, compiles to cross platform bytecode, has the majority of 'standard' programming concepts (like datatypes, methods, looping, etc), strongly object oriented (though I suppose you could treat it mainly as a procedural handling through its 'main' method), can create desktop applications and web-based applications (JSP for server handling and applets or RMI for clients). Java is an all around great language. I don't use it as often as I used to since I like my operator overloads and pointer handling. Too bad PHP doesn't support that, though I guess it would be pretty scary to be the host for a language that handles memory pointers :P

THE_GAME
11-24-2008, 11:13 AM
wow.so where should i start.?

Fou-Lu
11-24-2008, 11:24 AM
By choosing between Java and PHP and making simple applications. Follow my template in my second post about how I tutor other students, and you should learn the language and how to program at the same time. Like I said, start simple, move into more complex handling.
I'm not 100% certain, but I don't believe M$ offers a free version of their IDEs for C# and VB.net. I could be mistaken on that though (since I have the full visual studio kicking around somewhere).

My first language was Perl (actually, it wasn't it was turbo pascal, but I don't really consider what I knew to be sufficient). Shortly after I was using C and PHP. My primary languages are now PHP and Java. I'm versed in what... 15 - 18 languages. Wait, that sounds high... yeah more like 13 - 15 languages plus partials (such as lisp, python and coldfusion where I have little experience or simply reviewing code and not actually developing in it).
Its surprising how fast you can learn a language once you've learned to program. Its like riding a bike. If you replace you're bike you don't need to learn how to re-ride it, just how it functions differently from you're old bike.

THE_GAME
11-24-2008, 11:31 AM
hehe :) thank you very much.so ur my online teacher?hehe:) i will keep contacts with u so i can continue my study's 4 a time table...


ell i lern lot today.from tomorrow i will start learn computer programing by my self with ur help....
and when i get stuck ill come to u..is it ok:)?

Philip M
11-24-2008, 11:55 AM
hehe :) thank you very much.so ur my online teacher?hehe:) i will keep contacts with u so i can continue my study's 4 a time table...

ell i lern lot today.from tomorrow i will start learn computer programing by my self with ur help....
and when i get stuck ill come to u..is it ok:)?

May I respectfully make the point that programming in any language requires very great accuracy. Most languages are case-sensitive and spelling mistakes are not tolerated. Sometimes even a space or a semi-colon in the wrong place can cause an error. :)

THE_GAME
11-24-2008, 12:23 PM
oh thanks 4 the tip.it will surely help thank you again:)

Fou-Lu
11-24-2008, 03:38 PM
May I respectfully make the point that programming in any language requires very great accuracy. Most languages are case-sensitive and spelling mistakes are not tolerated. Sometimes even a space or a semi-colon in the wrong place can cause an error. :)

Whoosh, heh heh heh.


hehe :) thank you very much.so ur my online teacher?hehe:) i will keep contacts with u so i can continue my study's 4 a time table...


ell i lern lot today.from tomorrow i will start learn computer programing by my self with ur help....
and when i get stuck ill come to u..is it ok:)?

Sorry, but I doubt I can make the time. I've taken it easy the last couple of days, but normally days are about 4 hours short for what I need to fit into them :P

THE_GAME
11-24-2008, 04:37 PM
we will see.thanks neways 4 the help...:)

jmac555
11-24-2008, 10:15 PM
Well it depends on what path you want to take in the world of programming.
If you want to go down the path of object-oriented then i suggest you put your head down for a few months and begin to learn C++ (yes it is hard, and takes along time, but it is worth it in the long run), however if you are having trouble with this then i suggest you start with a more basic language like C or Java.

If you are wanting to code for linux then i suggest you reasearch Perl/Python. Both of these are great languages, and are not too hard to learn (in comparison to C++ that is =).

If you want to head down the path of creating a webpage/server then obviously you want to persue the AJAX languages (Asymetric Java and XML, or something like that) and also you could look at PHP/MySQL (both great server-side scripting languages.

If, however, you only want to make basic programs to impress your friends then you need look no further than Visual Basic/Applescript/ Batch programming. But considering you have posted here i assume that is not the case.

Hope this helped.

silverpaws006
12-04-2008, 03:46 PM
I learned HTML first, followed by Visual Basic, Javascript, Batch, then PHP.

I still suggest HTML to be the best place to start, then move on to PHP.
Of all that, I only have 2 books, 1 for html(thick book, a few javascript included) and 1 for VB.

h_gibbs
12-14-2008, 02:16 PM
If you want to get into webprogramming then start with HTML, PHP, ASP etc... and if you want to get into software programming then start with C, C++, Java backend scripts such as Oracle etc....
Hard work and concentration is all you need in programming world....:thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum