Python as replacement for PHP?

R. Rajesh Jeba Anbiah ng4rrjanbiah at rediffmail.com
Thu Mar 4 08:24:52 EST 2004


Ville Vainio <ville at spammers.com> wrote in message news:<du7y8qh6qbh.fsf at mozart.cc.tut.fi>...
> >>>>> "R" == R Rajesh Jeba Anbiah <ng4rrjanbiah at rediffmail.com> writes:
> 
>     R> [Well, this time I have decided to troll -- all because of
> 
> Ok, I get the drift.

   Mr.Ville Vainio, I really impressed by your detector and the way
you snip others' comments. Thanks.

>     >> Can you tell me exactly what the PHP fwrite function did when I
>     >> passed it an integer? Can you tell me how many PHP programmers
>     >> test "(strlen($to_write) == fwrite($fp, $to_write))"?
> 
> 
>     R> Ok...understand. idiot-proof?
> 
> So type safety means idiot-proofing? What do you gain by allowing
> obvious errors to be silently ignored?
> 
> When a third-party library returns an object you didn't expect in
> writing your code, you would surely want to know? I do.

   If you do *programming* without knowing what to pass to a function
or what a function returns, you're a complete idiot as a idiot can be.
Moreover, if you take it as an argument against PHP, you're yet
another ignorant and obviously you don't have any rights to speak
about PHP nor anything.


>     >> - In the specific instance of database connectivity, Python is
>     >> far superior, in terms of intuitiveness, security, safety, and
>     >> so on.  Python database APIs are built in a way that protects
>     >> you by default.
> 
>     R> Perhaps, idiots' own language?
> 
> You still realize this is crossposted to c.l.py, right? Kindergarten
> tactics don't erally work all that well here.

   Huh?? So..here, where you stand??

> Some observer of this
> discussion might draw some conclusions about which one of the
> languages is the "idiot's own language"...

   Yes, people with functioning brain may already conculded that when
you posted your previous message itself.

>     >> How easy is it to improve on both these examples to add proper
>     >> error handling? Again, Python wins hands down for elegance,
>     >> conciseness, and obviousness.
> 
>     R> Yes, agreed. Idiots' language.
> 
> Yes, elegance is indeed for idiots. True r0xx0r h4xxx0rz use PHP,
> because it's so cryptic and looks cool because n00bs can't understand
> it.

   If you post these jottings to the PHP ignorants, they may even
build a statue for you. But, I guess, it is hard to get that kind of
ignorants.


>     R> comp.lang.php is not the right place for you to show your
>     R> stupidity. You should consider stripping headers as many other
> 
> Neither is c.l.py. Actually, we have remarkably few idiots in c.l.py.

   No problem. I could see here itself
<http://groups.google.com/groups?threadm=403fa54b%40news.zianet.com>

> I don't know why I'm replying - your post kinda speaks for itself.

   Thanks Mr.Ville Vainio for sparing your time to provide brilliant
comments.

   HTH. HAND.

-- 
 From comp.lang.php
 "I don't believe in the God who doesn't give me food, but shows me
heaven!"--Swami Vivekanandha
If you live in USA, please support John Edwards.
Email: rrjanbiah-at-Y!com



More information about the Python-list mailing list