954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Python and BOO

A somewhat strange find in the Pyton Code Snippets here on this site. Is the BOO language very much like Python?

It seems nice that one can compile and interpret the same language. Will it be worth to translate Python code to BOO just to get a nice small exe file?

Does it have something like wxPython?

bumsfeld
Nearly a Posting Virtuoso
1,445 posts since Jul 2005
Reputation Points: 404
Solved Threads: 184
 

I thought this was a joke until I stumbled upon http://boo.codehaus.org/

cscgal
The Queen of DaniWeb
Administrator
19,424 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
 

Maybe Vegaseat was joking?

bumsfeld
Nearly a Posting Virtuoso
1,445 posts since Jul 2005
Reputation Points: 404
Solved Threads: 184
 

No, it looks like the language really exists (see link posted).

cscgal
The Queen of DaniWeb
Administrator
19,424 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
 

There is a story behind Boo. A gifted programmer in Brazil developed applications in Python and then rewrote them in C# for distribution. Python code is short and easy on the eye, alas C# is extremely verbose and type declarations are dogmatic, almost fascistic.

It was easier to develop a new language combining the best of Python and C#. The result was Boo with a ghost as a symbol. The endless {} and ;;; are replaced with indentations, if the compiler can infere the type it will and so on. It almost looks like the compiler is allowed to think a little, can you imagine that!

Boo uses the Common Language Interface (CLI) just like C#, which makes GUI tools available. So a wxPython like tool is built in.

The caveat with Boo is that it is young and help is almost totally missing.

vegaseat
DaniWeb's Hypocrite
Moderator
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
 

Thanks for the lesson, vegaseat!

cscgal
The Queen of DaniWeb
Administrator
19,424 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You