-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ilya,

Don't get me wrong... I loves me some Java. But...

On 3/20/2009 11:55 AM, Ilya Kazakevich wrote:
> If you are going to move to php, be ready to:
> 1) loose tools like log4j.

log4p?

> 2) meet API, 10% of which uses OOP and exceptions, and 90% is procedure /
> errors based. 

This does really suck. It's going back and using C when you've become
sooo used to exceptions.

> 3) you would not have namespaces.

Meh. I suppose on a large (huge?) project this could be a problem. You
can always "namespace" your files by using subdirectories. Oh, wait. You
weren't suggesting that you use objects in PHP were you? Ha ha ha ha.
Oh, maybe you were. Sorry.

> 4) because of dynamic typization, you would be able to find some types of
> errors only in runtime.

Java is not safe from runtime errors; they're just (mostly) not the
kinds of errors that can be prevented using static type-checking. I've
come-around on this one: static typing is just one way of doing things.
Ruby's mix-ins are very attractive for those of us who have had trouble
breaking-into a class hierarchy. :)

> 5) no multithreading

Meh. Most Java webapps aren't multithreaded anyway in the sense that
each request lives in its own little world and usually runs start to
finish with no other threading involved.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknEAZ0ACgkQ9CaO5/Lv0PA66ACfYgElGkBrKzxS2Lp9ABhW9ZZU
UDgAn0eFpdBXzUCcda4G2LOE5733XSgL
=X7eW
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to