l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Mar 19 15:30

The following is an archive of a post made to our 'vox mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox] ISO: Good programming language to teach an 8yr old
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox] ISO: Good programming language to teach an 8yr old

> One day, I swear, I will write a multimedia-focused interactive-mode
> BASIC-like language for kids.  I pine for old Atari BASIC. :^)
> 20 COLOR 1
> 30 PLOT 0,0
> 40 DRAWTO 159,79
> Voila... a line.  How hard was that? :^)  (Line-numbers unnecessary, if
> you want to watch each step, in this case ;^) )

I hardly see the need for a -new language-. There is a need, certainly,
for fewer languages designed by non-language-experts. 

Meanwhile, here's what your program might look like using pygame
(assuming color 1 is yellow):

import pygame; from pygame.draw import draw
scr = pygame.display.set_mode((250,250))
draw.line(scr, (255,255,0), (0,0), (159,79))

With a few things setup in advance, that could easily look like:
from easydraw import *
draw.line('yellow', (0,0), (159,79))

Also, without even installing pygame, you can probably already do this
at a shell:
% python
>>> from turtle import *
>>> forward(100)
>>> right(90)

vox mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.