Snake or Mouse?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Snake or Mouse?

#1 Post 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/
Last edited by Lobster on Sun 08 Nov 2009, 04:10, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

ITAmember
Posts: 167
Joined: Sun 13 Sep 2009, 18:50
Location: The middle of a cornfield

#2 Post 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.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post 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]
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

caleb72
Posts: 57
Joined: Fri 15 May 2009, 12:44

#4 Post 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

Post Reply