Re: [Zope] Re: Java vs Zope

2006-01-07 Thread bruno modulix
[EMAIL PROTECTED] a écrit : (snip) All said and done, I prefer to use Java over Python for large applications Good for you; there are others that share your tastes, but that's all it is: preference. A good coder could create an equally powerful suitably large application in either

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread bruno desthuilliers
Rocky Burt wrote: David H wrote: Python is also object oriented. In python, x = 10 creates an object not a simple type - if I recall the same is true in Java. In fact this is not quite right. In java, int x = 10 produces a primitive type. Not a class instance at all. In this case x

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Asad Habib
Well, the class is simply a construct that Java uses to define an object. Also, the concept of object is well defined in Java which makes it easier for the programmer to know what can and cannot be done. In Python, it is not as explicit. Java is a programming language and hence cannot be

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Andreas Jung
--On 6. Januar 2006 10:06:55 -0500 Asad Habib [EMAIL PROTECTED] wrote: Well, the class is simply a construct that Java uses to define an object. Also, the concept of object is well defined in Java which makes it easier for the programmer to know what can and cannot be done. In Python, it is

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Martijn Pieters
On 1/6/06, Andreas Jung [EMAIL PROTECTED] wrote: Python is not a programming language??? huh..the difference is that Java is compiled and Python is interpreted *Bt* Wrong again. :) Both Java and Python compile to bytecode, which a virtual machine then interprets. In Java this step is

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Andreas Jung
--On 6. Januar 2006 16:39:18 +0100 Martijn Pieters [EMAIL PROTECTED] wrote: On 1/6/06, Andreas Jung [EMAIL PROTECTED] wrote: Python is not a programming language??? huh..the difference is that Java is compiled and Python is interpreted *Bt* Wrong again. :) Hairsplitter :-) -aj

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Martijn Pieters
On 1/6/06, Andreas Jung [EMAIL PROTECTED] wrote: Hairsplitter :-) That's *Mr* __Pedant__ to you, capiche? :P -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Lennart Regebro
On 1/6/06, Asad Habib [EMAIL PROTECTED] wrote: Well, the class is simply a construct that Java uses to define an object. Also, the concept of object is well defined in Java which makes it easier for the programmer to know what can and cannot be done. In Python, it is not as explicit. Java is a

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread bruno desthuilliers
Andreas Jung wrote: --On 6. Januar 2006 10:06:55 -0500 Asad Habib [EMAIL PROTECTED] wrote: Well, the class is simply a construct that Java uses to define an object. Also, the concept of object is well defined in Java which makes it easier for the programmer to know what can and cannot

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Martijn Pieters
On 1/6/06, Lennart Regebro [EMAIL PROTECTED] wrote: Python is intepreted while Java is compiled. That makes Python superiour in many ways. ;-) pedant mode=ranting Python is compiled, then interpreted. Java is compiled, then interpreted. Java compilation is explicit, Python compilation implicit.

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Asad Habib
Actually, that's not true. Languages such as Perl and Python were designed to write scripts, not to code entire applications. Python is an exception because it can be successfully used to code large applications, unlike some other scripting languages. So it's best to call Python a scripting

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Jean-Marc Orliaguet
Here is a document that explains why scripting languages are better than system programming languages (like C, C++, Java) for creating large scale applications, for gluing components together, thanks to weak typing: http://home.pacbell.net/ouster/scripting.html this too might be

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread bruno desthuilliers
Asad Habib wrote: (top-post corrected) On Fri, 6 Jan 2006, bruno desthuilliers wrote: Asad Habib wrote: (top-post corrected) On Fri, 6 Jan 2006, bruno desthuilliers wrote: Rocky Burt wrote: (snip) In fact I'd go as far as to say that Python seems *more* object-oriented than Java.

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread bruno desthuilliers
Lennart Regebro wrote: On 1/6/06, bruno desthuilliers [EMAIL PROTECTED] wrote: Not even - Python is byte-compiled too. The difference is that the Python interpreter (call it 'VM' if you think that 'interpreter' isn't buzzword-compliant enough) is smart enough to take care of the compilation

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Lennart Regebro
On 1/6/06, bruno desthuilliers [EMAIL PROTECTED] wrote: Lennart Regebro wrote: On 1/6/06, bruno desthuilliers [EMAIL PROTECTED] wrote: Not even - Python is byte-compiled too. The difference is that the Python interpreter (call it 'VM' if you think that 'interpreter' isn't

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Dieter Maurer
Asad Habib wrote at 2006-1-6 11:27 -0500: Actually, that's not true. Languages such as Perl and Python were designed to write scripts, not to code entire applications. Python is an exception because it can be successfully used to code large applications, unlike some other scripting languages.

Re: [Zope] RE: Java vs Zope

2006-01-03 Thread J Cameron Cooper
Sam Stainsby wrote: One thing is static type checking: developers detecting type errors at compile time, rather than some hapless user running into it at run time (i.e. after release to the public). I see many of those types of errors in Zope and Plone products, particularly as the API of one