Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
Posted: Fri 06 Nov 2009, 02:21 Post subject:
Snake or Mouse? Subject description: 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 . . .
http://puppylinux.org/wikka/Squeak
Back to BASIC's? Do I need a Genie?
http://bkhome.org/genie/ _________________ Puppy WIKI Last edited by Lobster on Sun 08 Nov 2009, 00:10; edited 1 time in total
ITAmember
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.
Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
Posted: Sun 08 Nov 2009, 00:23 Post subject:
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.
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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum