Posted By: Charles | Jan 20th @ 11:00 AM | 75,810 Views | 25 Comments
SmallBasic is a new programming language aimed at beginners. It was created as a side project of Vijaye Raji, a software developer on the Oslo team. SmallBasic is a very limited language with only a handful of keywords and a small set of concepts that should make builing an application on Windows very simple for beginners. However, don't let it's simplicity fool you into thinking that you can't build very compelling applications with it on Windows...

Here, programming language designer (and de facto Expert to Expert host) Erik Meijer, Oslo architect Chris Anderson, Vijaye Raji and I discuss the details behind, in between and in front of SmallBasic. Why was it created in the first place? Why the VB-like syntax? What's the goal of the language and runtime, anyway, given that there are already beginning languages out there that run on the Microsoft stack? Why is the language designed in the way that it is? Why is it so popular? How will it evolve? You know, typical Channel 9 questions. We go pretty deep here, but we don't touch bottom. It was a lot of fun taking part in this conversation and I am impressed with SmallBasic and the folks behind it.

Tune in. If you want to know the details behind (and in front of) SmallBasic, then this conversation is for you.

Enjoy
Rating:
4
0
wisemx
wisemx
Live it
Cool. SmallBasic is doing very well.
My 9 year old son loves it.
The choice of "Sub".  This is the same as in VB when the "code chunk" won't be returning a value.  It seems ok.  The actual keyword "Sub" is pretty vague, it's only when we expand it to the word Sub-routine that it sounds dated.  The doc files and read-me's can just refer to these blocks of code as "Subs".

--
Furry cows moo and decompress.

CRPietschmann
CRPietschmann
Chris Pietschmann

And we now have proof that VB6 just doesn't want to die. I know this isn't VB6, but it's proof that VB.NET has too steep a learning curve for some of the very beginners.

CRPietschmann
CRPietschmann
Chris Pietschmann
This brings me to the following question:

Why not just create a newer version of VB6?
Love this - am using it as part of DigiGirlz curriculum in SoCal - thanks Vijaye - keep up the great work!
Me (to daughter):  Did you do any more chapters in the Small Basic tutorial?
Daughter:  Yes, Daddy, I have a program that will say "Good Morning" if it's the morning, and "Good Evening" if it's night.
Me:  That's great, honey!
Daughter:  Also, if you type in a word, it will display the definition.
Me:  What??!!  [with lots of confusion and a bit of disbelief]  Was that in the same chapter???
Daughter:  No.  I was just playing around.

She showed me the program, and the Dictionary keyword.  I had to disable networking and see it quietly fail (returns nothing for definition) before I could believe it was web-service based dictionary.

Congrats on thinking out of the box and including a web-service enabled uber-function as the 12th most important keyword.
My daughter and I are *both* learning what programming is!
stevo_
stevo_
Human after all
Thats really great!

You should add some Syntactic sugar to the language

1) So at least rename the TextWindow object to T  ( i.e. the letter T )
and the graphics window to only G
and make the default window to selected automatically or by declaration
I don't want my kids to waste their time in typing long words
compare this :
n = T.Readnumber()
with this
n = TextWindows.Readnumber()

2) Remove redundant brackets  ... for empty arguments !!  so we'd have ...
   Writeln "Hello World"
   instead of
   Writeln("Hello World"

4) add BASIC keywords and GWBASIC ... such as DATA , etc

5) How about simple file handling ( open , read , write  ..) ??

Microsoft Communities