TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
View Poll Results: Which language do you think would hold the future?
PHP 24 70.59%
Python 1 2.94%
Perl 1 2.94%
ASP 1 2.94%
Java 1 2.94%
Ruby 2 5.88%
Lisp 1 2.94%
Other 3 8.82%
Voters: 34. You may not vote on this poll

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 01-18-2008, 01:03 PM   #1 (permalink)
The Contributor
 
Join Date: Jan 2008
Posts: 25
Thanks: 8
cosmok is on a distinguished road
Default PHP compared to other languages...

I love coding in PHP, but, I read a lot of articles that deplore PHP for a variety of reasons. I am sick and tired of hearing that my favorite language for web programming sucks! Here are a few articles that I would like some of the advanced users here at TalkPHP to comment upon:
???? blog Ruby vs PHP performance
PythonVsPhp - PythonInfo Wiki

I have heard a lot of good things about Python (namspaces,OO, et al). As I am still young is it worthwhile to get acquainted with say, Python?

Another question, what is this obsession with OOP? People talk a lot about inheritance and namespaces being primary reason to use OOP, but, most of the classes that I had come across (at say phpclasses.org) could be implemented with just plain functions. Is there a price in performance that one has to pay if one chose to use a class instead of a function? Can someone point me to an example where using a class is better than using a function. Some smart Programmers like Paul Graham say they never had use for OOP (he along with a few others built Viaweb, a shopping portal, which I think later got converted into Yahoo Stores, so it was definitely a big project that he had coded for)
cosmok is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:09 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design