Web Hosting Talk







View Full Version : What language?


phdignite
08-06-2005, 10:11 PM
What programing language do you guys suggest learning 1st? I am 100% nub and want to learn something, but not something too intimidating

hightime
08-06-2005, 10:14 PM
i suggest you learn html first then possibly php

empresasdehosting
08-06-2005, 10:33 PM
HTML, PHP and JSP

mwalters
08-06-2005, 11:46 PM
HTML first for sure. After that it depends on your intended audience. Lots of corporations run windows servers, so if you want to target them for work, ASP would be good to learn. PHP is a lot less costly though and you can do fabulous stuff with it. I do almost all of my development with php/mysql and even the larger businesses are starting to have a platform available for it.

At some point I'd pick up some javascript as well. I hate it personally because I don't like dealing with browser dependancy, but some stuff is widely supported by browsers and it can come in handy to know.

Azavia
08-06-2005, 11:55 PM
javascript, php, then perl, is my recommendation. also learn MySQL at some time for database communication.

phdignite
08-07-2005, 12:00 AM
I know HTML, and VERY little php. Just like include codes. Thanks guys.

nulled
08-07-2005, 01:50 AM
I suggest learning good ol 'C' programming language. Its syntax is 'borrowed' from SO MANY other languages, that in effect, once you learn C you will now know the CORE of a ton of other languages like:

PHP, PERL, C++

Or since you know HTML, you should learn PHP! Since, PHP is perfect for use with HTML, which you already know, you can build solutions with HTML and PHP. Also, PHP is a GREAT 'nub' language as it does a lot of things automatically for you, like type checking.

laserlight
08-07-2005, 02:13 AM
Since you already know something of PHP, I suggest that you continue to learn it. If not, you can try Python (http://www.python.org).

I suggest learning good ol 'C' programming language. Its syntax is 'borrowed' from SO MANY other languages, that in effect, once you learn C you will now know the CORE of a ton of other languages like:
C would be a good to learn eventually, but now there are other programming languages more suitable for a beginner.

Froggy
08-07-2005, 02:33 AM
Html is not a programming language.....

Which language you learn first depends on your goals, if you just want to be a script kiddie....then start with php as its the most forgiving.

If your goal is learn how to make robost applications, then you should start with java. In fact this is what most universities start with for many reasons. Java has all the features that most programming languages have...typing etc etc..but deals with things like memory management itself. It gives you an easy way to learn fundamental issues, such as data-structures. After you have a good handle on java, C/C++ would be a nice place to look next (where you can learn more about system level programming).

laserlight
08-07-2005, 03:05 AM
Html is not a programming language.....
Agreed, but learning it gives a feel of how programmers work with source. Assuming one learns XHTML, it may even stress basic concepts like nesting, which will certainly come in handy later. Anyway, this is a moot point since phdignite already knows HTML.

Which language you learn first depends on your goals, if you just want to be a script kiddie....then start with php as its the most forgiving.
What do you mean by forgiving?

Froggy
08-07-2005, 04:39 AM
Forgiving is probably the wrong word for it, but what I mean is that php has a bit similar syntax and tends to be easier to learn than languages like perl and python.

Burhan
08-07-2005, 06:36 AM
Forgiving means:

function hello() { print 'Hello'; }

HELLO();
hello();

Doesn't generate an error. Which I think is a very bad thing (and I'm a seasoned PHP programmer).

yktan
08-07-2005, 07:02 AM
IMHO, in order to put a page on your website, you will need to learn HTML (yes, it's not a programming language, it's a markup language). After mastering HTML, Javascript would be good to learn. Using javascript you can start doing dynamic contents, form validations etc.

Next step from that would be a scripting language like PSP or Perl.

Froggy
08-07-2005, 07:22 AM
Right html is necessary for webpages, but thread started out with someone asking about "programming languages" so its a bit curious that html even comes up.

I didn't even know php wouldn't complain about that...I guess I never tried it. I'm so use to case mattering. But yeah that is forgiving!

laserlight
08-07-2005, 09:35 AM
Doesn't generate an error. Which I think is a very bad thing (and I'm a seasoned PHP programmer).
I dont like the case-insensitivity of function names either, but then there's no function overloading, so declaring a function with the same name but a different case will result in an error anyway.
I suppose this might be dangerous in the pedagogical sense, but I've never seen anyone try to teach newbies to use a differing case from the function declaration.

I didn't even know php wouldn't complain about that
It's a feature, at least in the sense that it is documented (not as a bug) in the PHP Manual, if I remember correctly.

Elliot A
08-07-2005, 09:53 AM
I would suggest Python or Ruby if your mainly looking for a desktop programming language but if you are looking to program in a more web orientated language, then check out Ruby on Rails and PHP.

All the languages are forgiving and introduce you to many valuable programming concepts that nearly all languages use, while making it easy to understand at the same time

Froggy
08-07-2005, 04:43 PM
Why would you suggest Python or Ruby for desktop programming? How many robost desktop applications are writen in those languages?
Those languages just aren't made to do things like implement datastructures etc. All of the scripting languages are good for doing particular things, none of them are good for making a desktop app of any decent size.

Sting13
08-07-2005, 06:30 PM
HTML is a must. Then learn PHP. Once you know those, everything else is easy.

Froggy
08-07-2005, 06:45 PM
YOu are suggesting that once you learn html and php then languages like C are going to be easy?

saxomaphone
08-09-2005, 01:49 PM
HTML goes without saying, but I agree that it's not necessarily a language to start out with if you want to program.

The first one I learned was C++, and it worked out well for me. I think that C (of course) or Java would be the way to go. The most important thing is to start thinking like a programmer, with pseudocode and that kind of stuff. Once you get that down, the syntax and how it is used is really the only major difference between the languages - and the easiest part, IMO - so PHP, Java, JavaScript, etc. will come quickly to you. Echo, cout, write....they all produce output. ;)

Dan L
08-09-2005, 02:31 PM
Learn HTML, then learn CSS. Then learn some basic Javascript.

Once you have a concept of how things work, move on to basic PHP and work from there. Since PHP's output is all HTML, it's very easy to produce something that /works/ with PHP.

After that, you'll have a better idea of where you want to head with programming. While learning C after PHP may not be easy, you'll already have the concept and basic logic of programming down, so it isn't completely foreign or intimidating.

unlucky1
08-09-2005, 04:34 PM
Learn concepts, not languages. This way you can transfer your knowledge from one language to another with ease.

Froggy
08-09-2005, 08:02 PM
Yes sure learn concepts, but you need to actually implement things to learn them well. This is why java is such a great language to learn on you can learn almost all the necessary concepts without getting bogged down in the details of the language.