Joined: 04 May 2005 Posts: 15117 Location: Paradox Realm
Posted: Fri 06 Nov 2009, 02:21 Post_subject:
Snake or Mouse? Sub_title: Python or Squeak
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 . . .
Joined: 13 Sep 2009 Posts: 168 Location: The middle of a cornfield
Posted: Sat 07 Nov 2009, 20:23 Post_subject:
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.
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.