Page 1 of 1

Snake or Mouse?

Posted: Fri 06 Nov 2009, 06:21
by Lobster
ITAmember has just created pets for the latest Python for Puppy
Now I remember the difficulty with Python for me.
The language is easy but how to easily create a GUI?

Then there is Disney's favourite programing language
which comes with its own GUI as standard
. . . but that language makes no sense and it took me ages just to find where the code is added . . .
http://puppylinux.org/wikka/Squeak

Back to BASIC's? Do I need a Genie?
http://bkhome.org/genie/

Posted: Sun 08 Nov 2009, 00:23
by ITAmember
Of course I'm going to recommend going with python, it is one of my favorite languages after all. :) I don't know a lot about smalltalk (which is what squeak is based on) but I don't like being forced to use OOP, it's overkill for a lot of the stuff I do. As for the GUI in python, you can use PyGTK which is a gtk wrapper for python but until you become proficient with programming I recommend you stay away from GUIs.

Posted: Sun 08 Nov 2009, 04:23
by Lobster
ITAmember wrote:I recommend you stay away from GUIs.
Tronkel offered me the same useful advice.
Unfortunately even when using Windows
I was being advised differently by a
very fishy character from another
most likely non existent dimension. :wink:

And you thought C programming was complex . . .
http://www.cyber-shaktipat.org/relax/alms.html
[the site is slowly disintegrating back into the virtual Void]

Posted: Mon 09 Nov 2009, 10:14
by caleb72
I love Smalltalk - I have many books on it and it was my entry into learning OO programming. But I agree with ITAmember - as much as I like OO design, to me having the freedom to mix and match like in Python makes alot more sense.

Plus implementations like Squeak are like having your own operating system. You're not in Linux anymore, you're in Squeak. Other VM-based languages like Python and Java hide that a bit better I think.

But I'll always have a soft spot for Squeak.

As for GUI development, I think PyGTK works with Glade files which means that you have a fairly rapid development tool at your disposal. Genie and Vala also seem to play nicely with Glade.

Regards
Caleb