[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] Re: which programming language is better




Do Python, Ruby or other language have integrated development enviroment? Are they easy to debug?
I will speak only of Python. Python has an ide, IDLE, which go with the standard python. It is quite basic, but fit well my current needs and should be good for testing the syntax of languages. I know there is a lot of other ide, but really I don't know wich is the best. If you want to have an idea about what python is, look into http://www.python.org

But speaking about ide, I should speak of leo, http://leo.sourceforge.net/, which I currently looking into. Leo is a literate programming IDE wich apply to"any text-based programming language, from assembly language and C to Java, Python and XML." . To speak about literate programming, I would just say that Donald E. Knuth, invented it.

The point is that Python is very expressive, so I have less bugs and program without an ide is more easier than in other languages I know.

From your example the structure seems to be heavily nested. It may be difficult to debug.
In my example the structure was not nested at all, I simply build a dynamic call during the execution.


But it changes only when you fill it necessary, so the rest of the time it stay a static language. In my use of python, I develop a core of "like C " routines, in C or python, depending of my need of speed and A dynamic stuff which use it and do exactly what I want. To be exact, I never develop any routine, because the standard and non standard library was enought reach to fit my performance needs.

I also like to mention that the program management is also very important. In my last program I got 560 subroutines and it's only 70 -80% of the program finished. In the end I had to write a database program using Foxpro to help manage my program. It lists all the subroutines with comments and classify them in categories. It lists all the subroutines used in each subroutine and automatically find out all the subroutines that call a perticular subroutine.
To use your particular case, I would say that Python avoid a lot of necessary things in other languages,
So maybe you would have a lot less subroutines.
The second point is that you would not need to have a particular database pro, because, during the execution, all the info are here. Moreover, you can use the python compiler to do what you want. Some guys even change the semantic of the language.
Really, since I use Python, I made things I never imagine before (as the way I handled the gtp protocol)

_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/