PDA

Click to See Complete Forum and Search --> : PHP Vs Perl VS Python


kayleigh
Aug 24th, 2010, 03:32 PM
Hi, as well as continuing my learning of vb i want to learn a script language.

I have put it here as this is the only section that lists one of my desired scripts


pro's/com's suggestions of which is a good one to pic

thanks

kows
Aug 24th, 2010, 07:50 PM
Perl is messy and powerful. I don't have much to say about it.

PHP can be just as messy and powerful, but is an evolving language that is becoming more mature and gaining a nice object-oriented structure.

PHP and Perl have extremely similar syntax; I started programming with Perl, and switched to PHP a few years later. They're both based

PHP is installed on just about every web server in the world. It's the most popular open source web programming language. Perl is probably installed on just about as many web servers.

Perl and PHP have syntax based off of the C language (lots of parenthesis, brackets and braces).

Python is a language that was built around making very clear/readable code. It's a great object-oriented language. I'm not a fan of the syntax (very little parenthesis, brackets and braces). It is not as widely available, but it definitely isn't hard to find a good host that supports it (or will let you install it yourself).

If you are interested in learning a new language, I suggest you pick either PHP or Python, and not Perl. However, it really comes down to what you're comfortable with syntax-wise. Neither is like VB's syntax, and if you like VB's syntax a lot, then you won't really like either of these languages' syntax. VB is too verbose, if you ask me.

tomcatexodus
Aug 25th, 2010, 01:45 AM
PHP is a great learning language with alot of immediate real world application. It would be my suggestion.

Perl being syntactically similar would be an easy transition after PHP.

Python is in a world of it's own. Whitespace based code blocks, etc. but has been noted for it's strong OOP implementation, as well as being a good learning language (but not for typical block syntax)

I would start with PHP. It's easy enough to start (grab a XAMPP server) and you'll have some pretty immediate satisfaction from your results.

As kows mentioned though, none are syntactically similar to VB.

kayleigh
Aug 25th, 2010, 12:22 PM
Thanks for replys. I went for PHP

got this book

http://www.wrox.com/WileyCDA/WroxTitle/Beginning-PHP-5-3.productCd-0470413964.html

any one read it?

almedajohnson
Sep 20th, 2010, 12:05 AM
Thanks for replys. I went for PHP

got this book

http://www.wrox.com/WileyCDA/WroxTitle/Beginning-PHP-5-3.productCd-0470413964.html

any one read it?

I haven't read it but I would like to take a look at it for sure. I would also like to suggest you if you want to learn PHP and you are completely fresher to this technique then go for simple online tutorial for beginners.