Re: php vs python

2008-05-28 Thread Michael Fesser
.oO(Ivan Illarionov) >No. Language does matter. And the weather. If you know how to program, you can write good code in any language if you're familiar enough with it. Many people write good code in PHP, and many write total crap in C/C++. It's almost never about the language, but about the prog

Re: php vs python

2008-05-23 Thread Michael Fesser
.oO(Duncan Booth) >Michael Fesser <[EMAIL PROTECTED]> wrote: > >> The only little problem is that PHP doesn't have native Unicode >> support yet, which will change with PHP 6. But of course you can still >> use UTF-8 without any trouble, I do it all the time. Yo

Re: php vs python

2008-05-23 Thread Michael Fesser
.oO(Duncan Booth) >On those rare occasions when I've helped someone who wanted advice I've >found that my Python oriented viewpoint can be quite hard to translate to >PHP. For example I'd suggest 'oh you just encode that as utf8' only to be >told that there's no easy way to do that (have just G

Re: php vs python

2008-05-23 Thread Michael Fesser
.oO(Andrew Lee) >Personally, I believe PHP would get you more productive more quickly for >a blog, but it is a potentially brain damaging language in terms of >really getting your juices flowing with programming. It is not a >general purpose language Please elaborate. >and suffers from all t

Re: php vs python

2008-05-23 Thread Michael Fesser
.oO(Nick Craig-Wood) >Damon Getsman <[EMAIL PROTECTED]> wrote: >> PHP has great support for accessing a MySQL database, > >Actually I'd say PHP's mysql support is lacking a very important >feature. mysql_query() doesn't support parameters (or placeholders, >usually '?') Where were you the last c

Re: which language allows you to change an argument's value?

2007-09-30 Thread Michael Fesser
.oO(Summercool) >I think in Pascal and C, we can never have an >argument modified unless we explicitly allow it, by passing in the >pointer (address) of the argument. Pascal also allows passing by reference, which is done with the keyword 'var' when declaring the function parameters. Object Pasca