10 messages in com.googlegroups.sketchuprubyRe: Python vs. Ruby| Subject: | Re: Python vs. Ruby![]() |
|---|---|
| From: | tomot (tom...@lycos.com) |
| Date: | 07/25/2007 12:45:27 PM |
| List: | com.googlegroups.sketchupruby |
I have to agree with you. The implementation of Python with Modo is 1st class. I can make graphical dialog boxes simply by picking from ready available parts. And I don't constantly have to reload scripts for testing, like into that silly Ruby console box.
Most importantly, there are too many bugs in the SU/Rruby implementation.
I will give you an example.
I now have a ruby script that draws an array of objects using circle and followme ruby functions If I chose a simple 2 x 2 array of objects from my menu. Each time I run the script I cannot be guaranteed that all 4 objects will have their faces oriented with the (default color).
Its like a slot machine. Each time I run the script a different combination of default and blue faces appears for each object, in the array.
On Jul 25, 9:59 am, Dr. YSG wrote:
Please don't get me wrong, I don't have a dogmatic viewpoint on this, and religous wars about languages bore me, I am a practical engineer.
But I wonder if Google would consider supplementing the Ruby embedded engine with Python.
a. I find Python syntactically much more mathematical and symetric (smaller brain footprint)
b. The documentation (especially of the libraries) is much more complete
c. Ruby (the framework) seems more developed for web work, and Python for embedded and system work (also a much better socket and networking system, which is really key for getting Sketchup to work with other programs, which seems to be the key idea with an embedded API).




