[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [school-discuss] first programming language



Python using pygame modules - I taught it for years to 8th graders (now it is a 9th grade class). Fun, easy to learn, yet very powerful (OO programming for those who outgrow procedural). It is also available on multiple platforms for free!

Python graphics example
------------------

from pygame import display, draw
from time import sleep
display.init()
window = display.set_mode((800,600))
draw.circle(window,(255,0,0,),(400,300),100)
display.update()
sleep(5)

--------------
That program draws a red circle in the middle of the screen with 100 pixel radius. It's easy to animate the circle, make rectangles, polygons, and even photo-realistic bitmaps! Kids love graphics!

On Tue, Apr 8, 2008 at 6:59 AM, roberto <roberto03@xxxxxxxxx> wrote:
hello
one of the young guys (13 y.o.) i am teaching to as far as regards
math and physics repeatedly asks me to introduce him to the world of
programming (and linux in particular) whose he is very fond of ...

i'd like to ask you which programming language you think it is more
advisable in this situation

if the question is too general, please ask me more details

thank you very much

--
roberto
OS: GNU/Linux, Debian