This is a discussion on Python as replacement for PHP? within the PHP Language forums, part of the PHP Programming Forums category; >>>>> "R" == R Rajesh Jeba Anbiah <ng4rrjanbiah@rediffmail.com> writes: R> [...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
>>>>> "R" == R Rajesh Jeba Anbiah <ng4rrjanbiah@rediffmail.com> writes:
R> [Well, this time I have decided to troll -- all because of Ok, I get the drift. >> 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. >> - 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. Some observer of this discussion might draw some conclusions about which one of the languages is the "idiot's own language"... >> 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. 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. I don't know why I'm replying - your post kinda speaks for itself. -- Ville Vainio http://tinyurl.com/2prnb |
|
|||
|
With total disregard for any kind of safety measures
dw-google.com@botanicus.net (David M. Wilson) leapt forth and uttered: > - Python gurus, when asked how to make something work, will > often appear nasty and horrible, telling you you're doing > entirely the wrong thing and you should go back to the drawing > board. Much like the hot sting from a smack of a father's hand, > this is good, not bad. It is there to direct and discipline you, > and improve the way you think. > - PHP gurus tend to be experienced web developers, they'll be > able to look flash and give you an answer on the spot, but that > answer will only further lead to the demise of any structure > your coding ever had. > So, by your logic Python developers tend to be self-important assholes whereas PHP developers will give you an answer, but they expect you to have enough knowledge to implement it correctly? -- Phil Roberts | Dork Pretending To Be Hard | http://www.flatnet.net/ |
|
|||
|
Ville Vainio <ville@spammers.com> wrote in message news:<du7y8qh6qbh.fsf@mozart.cc.tut.fi>...
> >>>>> "R" == R Rajesh Jeba Anbiah <ng4rrjanbiah@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 |
|
|||
|
>>>>> "R" == R Rajesh Jeba Anbiah <ng4rrjanbiah@rediffmail.com> writes:
R> If you do *programming* without knowing what to pass to a R> function or what a function returns, you're a complete idiot as R> a idiot can be. Moreover, if you take it as an argument Occasionally, in absence of static typing, you might accidentally call a function using a return value of another function as an argument and they are not compatible. W/ python you notice it immediately; with PHP or Perl your program starts behaving weirdly (if you don't check return values that is) and you can't pinpoint exactly what went wrong. This is what makes people run to statically typed languages, believing that all dynamic typing is shoddy like this. R> against PHP, you're yet another ignorant and obviously you R> don't have any rights to speak about PHP nor anything. I wasn't really talking about PHP, but the approach you took to attack the arguments of OP (arguments which I agree w/ BTW, but that's another story). R> Yes, people with functioning brain may already conculded that R> when you posted your previous message itself. Previous message? The one you were replying to was the first I posted to this thread. >> Neither is c.l.py. Actually, we have remarkably few idiots in >> c.l.py. R> No problem. I could see here itself R> <http://groups.google.com/groups?threadm=403fa54b%40news.zianet.com> Great. -- Ville Vainio http://tinyurl.com/2prnb |
|
|||
|
Peter Maas <fpetermaas@netscape.net> wrote in message news:<c27lfc$5kq$1@swifty.westend.com>...
> R. Rajesh Jeba Anbiah schrieb: > > 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. > > Excuse me ... Does the life of your children depend on a friendly. > reception of PHP? Sorry, I couldn't understand what do you mean here (My first language is Tamil) > I'm just searching a reason for your aggressiveness. No need to embarrass yourself by researching; I've already said the reason. Did you read the thread actually? > Never saw that in c.l.py. Might be some problem with your news server. Perhaps you should read the thread first <http://groups.google.com/groups?threadm=403fa54b%40news.zianet.com> > Mit freundlichen Gruessen, நட்புடன் 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 |
|
|||
|
Ville Vainio <ville@spammers.com> wrote in message news:<du7wu60ra10.fsf@amadeus.cc.tut.fi>...
> >>>>> "R" == R Rajesh Jeba Anbiah <ng4rrjanbiah@rediffmail.com> writes: > > R> If you do *programming* without knowing what to pass to a > R> function or what a function returns, you're a complete idiot as > R> a idiot can be. Moreover, if you take it as an argument > > Occasionally, in absence of static typing, you might accidentally call > a function using a return value of another function as an argument and > they are not compatible. W/ python you notice it immediately; with PHP > or Perl your program starts behaving weirdly (if you don't check > return values that is) and you can't pinpoint exactly what went > wrong. This is what makes people run to statically typed languages, > believing that all dynamic typing is shoddy like this. > > R> against PHP, you're yet another ignorant and obviously you > R> don't have any rights to speak about PHP nor anything. > > I wasn't really talking about PHP, but the approach you took to attack > the arguments of OP (arguments which I agree w/ BTW, but that's > another story). > > R> Yes, people with functioning brain may already conculded that > R> when you posted your previous message itself. > > Previous message? The one you were replying to was the first I posted > to this thread. Obviously, you should know what you're doing (<http://groups.google.com/groups?threadm=403fa54b%40news.zianet.com>) And, please find some time to learn about the error reporting or error handling mechanism of the languages before throwing your comments. (Hint: Your comments clearly shows your ignorance in one or more languages) 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 |
|
|||
|
R. Rajesh Jeba Anbiah wrote:
> > HTH. HAND. Is this your signature or nickname, or does it perhaps mean something in your native language (like "ciao", for example)? I assumed it was your signature, but it doesn't resemble your name, so I thought it may mean something else. Perhaps it's like those "geek codes" some people put in their signatures? bblackmoor 2004-03-07 |
|
|||
|
I noticed that Message-ID: <c2g3gb$1sb5fo$1@ID-97660.news.uni-berlin.de>
from Brandon Blackmoor contained the following: >> HTH. HAND. > >Is this your signature or nickname, or does it perhaps mean something in >your native language (like "ciao", for example)? Hope This Helps. Have A Nice Day -- Geoff Berrow (put thecat out to email) It's only Usenet, no one dies. My opinions, not the committee's, mine. Simple RFDs http://www.ckdog.co.uk/rfdmaker/ |