![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
There are so many really good languages (like Pike, Python, Ruby, Common Lisp, Self, Fortress, Nice, Squeak, Scala,...), so why do so many people choose an ad-hoc language, a kind of a planless pile of a bunch of features? |
#12
| |||
| |||
|
|
If I understand what you're asking, it came about from Perl scripters who wanted a neater solution. There were already a lot of people using Perl CGI on the web. They moved to PHP and then other people started getting in on it. |
#13
| |||
| |||
|
|
kaeli <tiny_one (AT) NOSPAM (DOT) comcast.net> writes: If I understand what you're asking, it came about from Perl scripters who wanted a neater solution. There were already a lot of people using Perl CGI on the web. They moved to PHP and then other people started getting in on it. Hmmm... OK, if all you know is (old/bad style) Perl, PHP may really be enlightening. But even that time there are so much better alternatives... |

|
Never mind. Thanks for your patience. At least i had a chance to train my english a little bit. |
#14
| |||
| |||
|
|
In short: Many languages solve the problems in dynamic web programming far better than PHP -- so why do so many people stick with such a bad tool? |
#15
| |||
| |||
|
|
These three things make for a community with strong advocacy. |
#16
| ||||
| ||||
|
|
Stefan Nobis <snobis (AT) gmx (DOT) de> writes: In short: Many languages solve the problems in dynamic web programming far better than PHP -- so why do so many people stick with such a bad tool? You are assuming that sticking power comes from being a good tool. That is not necessarily the case. Learning PHP is difficult, especially if you don't have a C background. |
|
It takes a lot of work to get past the strange error messages from missing semicolons, the =, ==, === distinctions, and myriad other gotchas. |
|
After all that work, people aren't going to feel inclined to learn another language, because it was so difficult to learn the first one. |
|
Second, you get a strong feeling of accomplishment when you get something done using a difficult language like PHP. |
#17
| ||||
| ||||
|
|
in comp.infosystems.www.authoring.site-design, Bruce Lewis wrote: Learning PHP is difficult, especially if you don't have a C background. Sure. Took me hour. I have never used C, and AFAIK PHP is far from C. |
|
It takes a lot of work to get past the strange error messages from missing semicolons, the =, ==, === distinctions, and myriad other gotchas. They are trivial. |

|
After all that work, people aren't going to feel inclined to learn another language, because it was so difficult to learn the first one. The fact is that it is much easier to learn PHP than program for web on almost any other language, especially on trivial cases. |
|
Second, you get a strong feeling of accomplishment when you get something done using a difficult language like PHP. Exaxctly what tool is easier? |
#18
| |||||
| |||||
|
|
Sure. Took me hour. |
|
That is one of the problems, it is not too powerful. |
|
(my programming has been basic, pascal, java, perl, none very well, prefer perl over others, but I have mostly done text stuff.) |
|
The fact is that it is much easier to learn PHP than program for web on almost any other language, especially on trivial cases. |

|
Exaxctly what tool is easier? |
#19
| |||||||
| |||||||
|
|
Lauri Raittila <lauri (AT) raittila (DOT) cjb.net> writes: [Learning PHP] Sure. Took me hour. Uh? You completley learned PHP? |
|
You know about the pitfalls with converting between strings and numbers? You know how do use functions as first class objects? You know OOP in PHP (even if it's a bit crude)? |
|
That is one of the problems, it is not too powerful. The problem is the chaos: It's a pile of features instead of simple and straight concepts |
|
The fact is that it is much easier to learn PHP than program for web on almost any other language, especially on trivial cases. There are thounds of languages and millions of libraries and tools out there. Or do you mean: PHP is easier than any other language *you know of*. |
And for the trivial cases: There still is SSI. ![]() |
|
Exaxctly what tool is easier? For middle to big size web applications? |
|
Nearly anything (to name at least one: Common Lisp with Uncommon Web and CL-SQL -- Lisp has nearly no syntax and only few very straight forward concepts; i learned Lisp (much) faster than PHP). |
#20
| |||
| |||
|
|
Form handling. The web uses a lot of form handling. PHP does not make it easy to do this. If you want a form, with some compulsory fields, and some optional fields, automatically filled in with the answers so far if it's submitted partially-complete, but if complete, to do an action, you have problems. |
|
[1] If anyone knows of a mainstream language that already does this, I'd like to know. |
![]() |
| Thread Tools | |
| Display Modes | |
| |