4 ms·
I 'learned' C first, never did anything useful. C is not beginner friendly simply because it provides no instant gratification. Python is instant gratification
by PostOnce 16y ago
I 'learned' C first, never did anything useful. C is not beginner friendly simply because it provides no instant gratification. Python is instant gratification for newbies. You can make a GUI in five minutes. In C you have to READ A BOOK first. Console apps don't thrill young people. GUIs do.
My two cents, take it for what it's worth.
- runT1ME 16y agoActually, this is the best push for Python i've ever seen. Its not a great production grade language, but I agree, getting people interested in programming is more important than getting them to grok the hard parts of programming (C/C++)
- yogione 16y agoHow do I make a GUI in 5 minutes using python. Can you please point me to a link / blog post. thanks.
- PostOnce 16y agogoogle 'tkinter' Here's an example I just made: #-----begin------ from Tkinter import * #part of standard library def reverse(): s=entrybox.get() #get text from entry widget entrybox.delete(0,END) #delete text from entry widget entrybox.insert(0,s[::-1]) #reverse text, insert it root=Tk() #create a window entrybox=Entry(root) #create an entry widget entrybox.pack() #display it in the window button1=Button(root, text='Press Me', command=reverse) button1.pack() entrybox.insert(0,'type here') #add a default value root.mainloop()