News for hackers. Stuff that matters.
Re:SmallBasic: "Fun" programming language for beginners by tuukkah on Friday October 24, 2008 @02:21AM (#342135)
The intention is good: making a modern, yet simple programming environment for beginners. The result is bad: including GOTO and omitting parameter passing makes programming simple as in assembler, not simple as in helping you do the right thing.
Re:SmallBasic: "Fun" programming language for beginners by bdfh42 on Friday October 24, 2008 @04:01AM (#342179)
I have no idea where this un-natural fear of the goto comes from - I suspect it is a university CS dept. myth. I feel pretty confident that I can write well structured maintainable code in any language that is Turing complete - and this little basic exceeds that requirement and then some.

I can't wait to give it to my young son and see what he can do with it.

Re:SmallBasic: "Fun" programming language for beginners by tuukkah on Friday October 24, 2008 @11:19AM (#342422)
I thought I made my point clear: including Goto in this supposedly minimalistic language doesn't guide learners in the right direction (and using it in the examples even less so). Goto is not used in modern programming style even though some specific constructs can be expressed succinctly with it.

Regarding Turing-completeness: Perhaps you can write maintainable code in Intercal or Whitespace, but most people can't or at least don't want to write maintainable code without functions and static scoping.

Re:SmallBasic: "Fun" programming language for beginners by Dilpil on Sunday November 09, 2008 @10:35AM (#358305)
I would like to take you up on that offer and see some maintainable brainfk code.
Re:SmallBasic: "Fun" programming language for beginners by dhimes on Friday October 24, 2008 @08:13AM (#342278)
This is a cool idea--is there something similar for linux? My seven-year-old wants to play, but he's really still learning to read!
Re:SmallBasic: "Fun" programming language for beginners by Klonoar on Friday October 24, 2008 @10:39AM (#342388)
http://shoooes.net/ comes to mind.

If he's learning to read, there's http://scratch.mit.edu/. Scratch doesn't really have a native version for Linux though - you can wine it, or you can try the (somewhat unofficial) build at the following link. I've tried both, and they work alright.

http://scratch.mit.edu/forums/viewtopic.php?id=305

Re:SmallBasic: "Fun" programming language for beginners by tuukkah on Friday October 24, 2008 @10:58AM (#342399)
Scratch runs on Squeak Smalltalk apart from some features that require a Scratch-specific native extension to Squeak. Scratch is not free software, so no wonder distros don't package it. The Scratch guys have a package for the OLPC though.

Here's the best guide I've seen this far for installing Scratch on Ubuntu: http://scratch.mit.edu/forums/viewtopic.php?pid=52179#p52179

Re:SmallBasic: "Fun" programming language for beginners by dhimes on Monday October 27, 2008 @05:22PM (#345609)
I decided to start with a little python...just a little bit to add or subtract a number repeatedly. He was able to follow it, but not, of course, do it the first time. Maybe if his interest remains, he'll start playing with it be himself!
Re:SmallBasic: "Fun" programming language for beginners by dhimes on Friday October 24, 2008 @11:25AM (#342426)
Thanks to you both for your help. Scratch does seem to be free-as-in-beer.....