DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: Microsoft releases SmallBasic for Newbie Programmers  (Read 34,250 times)

icekin

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 264
Microsoft releases SmallBasic for Newbie Programmers
« on: November 16, 2008, 02:13 AM »
MS has released a Small Basic Compiler and IDE for those looking to get started with programming. I have yet to try it and while it might not compare to C++ just yet, it has the lowest barrier to entry of any programming language I've seen so far with only 15 keywords.

Quote
From the Small Basic Website:
Small Basic is a project that's aimed at bringing "fun" back to programming. By providing a small and easy to learn programming language in a friendly and inviting development environment, Small Basic makes programming a breeze. Ideal for kids and adults alike, Small Basic helps beginners take the first step into the wonderful world of programming.
  • Small Basic derives its inspiration from the original BASIC programming language, and is based on the Microsoft .Net platform. It is really small with just 15 keywords and uses minimal concepts to keep the barrier to entry as low as possible.
  • The Small Basic development environment is simple, yet provides powerful modern environment features like Intellisenseâ„¢ and instant context sensitive help.
  • Small Basic allows third-party libraries to be plugged in with ease, making it possible for the community to extend the experience in fun and interesting ways.


Please post some feedback if you have taken it for a spin.

mahesh2k

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,426
    • Participated in NANY Challenge Twice
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #1 on: November 16, 2008, 02:15 PM »
I'll give it try, nice find  :up:

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #2 on: November 17, 2008, 12:00 AM »
Friends don't let friends use BASIC! :)

It is possible to write OK structured code with a BASIC flavor like Visual Basic, problem is that the language, IDE, and the type of programmers it attracts usually lead to... horrible... code. And sometimes, irreversible brain damage. Haven't looked at SmallBasic, but doubt it's any different 8)
- carpe noctem

mahesh2k

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,426
    • Participated in NANY Challenge Twice
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #3 on: November 17, 2008, 08:50 AM »
Quote
And sometimes, irreversible brain damage.

Now i need to know what is wrong with Basic? I mean small basic looks less headache to me though :-\

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #4 on: November 17, 2008, 09:08 AM »
Code: (smallbasic)
GraphicsWindow.BackgroundColor = "Black" 
GraphicsWindow.MouseDown = OnMouseDown 

Sub OnMouseDown 
  pic = Flickr.GetRandomPicture("mountains, river") 
  GraphicsWindow.DrawResizedImage(pic, 0, 0, 640, 480) 
EndSub
ha fantastic :) It actually seems to be really similar to Visual Basic .NET in syntax which should pose no problem once you've grown out of smallbasic, which is probably the aim of it. Great idea and interesting IDE too.
« Last Edit: November 17, 2008, 09:09 AM by justice »

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #5 on: November 17, 2008, 09:50 AM »
And sometimes, irreversible brain damage.

Isn't that the very point of learning to program ?

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #6 on: November 17, 2008, 12:59 PM »
And sometimes, irreversible brain damage.

Isn't that the very point of learning to program ?

It certainly is, and it works too... look what happened to me  ;)
Chris

mrainey

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 439
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #7 on: November 17, 2008, 01:51 PM »
I'll rely on Emergence BASIC until they pry it out of my cold dead fingers ...  :D
Software For Metalworking
http://closetolerancesoftware.com

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #8 on: February 17, 2009, 06:01 PM »
If it don't have stuff like:
defint a-z
130: If x < y then goto 150
140: do something stupid here
150: yadda yaddda

then it just ain't the same!

With GWBasic he who has the most gotos wins!!

(Not to mention the joy of running the automatic line renumbering thingy)  :)

tide

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 84
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #9 on: February 18, 2009, 06:19 AM »
Miles, it sounds like you'd just LOVE NBASIC! (sylvaware.home.mindspring.com) :)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #10 on: February 20, 2009, 03:53 AM »
Heh heh. I think there was an XBasic or something out there that was actually pretty good.  The guy put it in public domain or something.  Guess if I'm gonna' do a Basic I'd do VB 6 since I have it.  I'm lazy so I like to just drag the buttons and junk onto a form. :)

ljbirns

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 229
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #11 on: February 20, 2009, 02:23 PM »
Is TI  basic still available ?
Lew

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • Participated in NANY Challenge Eight Times
    • Programming School - Deluxe Bonus Medal
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Military Service Badge - US Army
    • Writer
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #12 on: February 23, 2009, 05:47 PM »
I still have the old QBasic saved on a CD.  Looking at the environment and what can be done with it, after having used C# for the past three years, makes it seem clunky; but I suppose that, at the time it came out, it was impressive enough.
Win 10 Pro running on a 3.2 GHz CPU and 12 Gb RAM
__________________________________________

Proofreading Service: http://williammillerservices.com/proofreading

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #13 on: February 23, 2009, 10:21 PM »
Yeah it seems MS has this fixation with having some kind of large runtime on your machine so that the apps can look small.  I had QB 3.0 that I messed with before doing Turbo Pascal. Most of my programs were tiny if you didn't compile as stand-alone.

Even now with a lot of apps I like to use Delphi 5.  Nice stand-alone executable.  C# makes doing some stuff easier, esp. directory searches and collections and that type of thing.  Sometimes though it's nice to be able to copy an exe file and know it will work from Win9x all the way to Vista64.

I remember when I first got Turbo Pascal I thought is was way faster than QB until I realized that float was the default numeric type in QB.  If you declared the loop variables as integers things went along at a better clip. :)

otoh I never saw a Delphi shell extension demo that worked. Most of 'em crashed right away.  Just have to use VC++ 6 for shell it seems.  Pretty weird having to code your own FileExists() functions though. Even if it is an inline it seems pretty lame to have to do it yourself. :)

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #14 on: February 24, 2009, 06:31 AM »
MilesAhead: it's not a "fixation with having some kind of large runtime on your machine so that the apps can look small", it's about code re-use and not bloating applications unnecessarily. Delphi and BCB can (and should!) link dynamically to the VCL too, and iirc that used to be the default as well.

As for not having a FileExists(), C give you libc and C++ additionally gives you the STL (aka libc++). That's the only guarantees you have, although you often get POSIX and platform vendor extensions as well (iirc Borland C++ doesn't/didn't mark extensions as such, leading people to think that C had gotoxy() and the likes).
- carpe noctem

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #15 on: February 24, 2009, 04:18 PM »
The code reuse is using the DLLs that are in windows.  Trouble is there are more and more versions of this small code reuse.  Pretty soon we'll have 20 versions of .NET about 1/2 dozen of each Windows DLL and a whole bunch of COM and DCOM servers on the system just in case something might use it.  No Wonder my Vista64 with very few apps and almost no data of my creation backs up to over 30 GB after compression!  So much for keeping it small.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #16 on: February 24, 2009, 05:05 PM »
Code re-use is simply re-using files - whether they're part of Windows or not (and originally in the Win9x days, the VB runtimes were not shipped with Windows).

And you don't need "a dozen of each DLL file" - only if you add something (or make changes) to it's interface.

.NET is a bit bad, I wonder why it's so big - and whether you need all the different .net versions or if eg. the 3.5 framework also supports all older versions.

Vista does include a lot of junk by default that most people don't need, which is a shame. And if your backup program doesn't know about hard- and symlinks, it's going to make a lot of duplicate data copies...
- carpe noctem

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • Participated in NANY Challenge Eight Times
    • Programming School - Deluxe Bonus Medal
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Military Service Badge - US Army
    • Writer
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #17 on: March 11, 2009, 11:50 PM »
Quote
.NET is a bit bad, I wonder why it's so big - and whether you need all the different .net versions or if eg. the 3.5 framework also supports all older versions.

The latest version, .NET 3.5, is backward compatible with versions 1.0 and 2.0 in most cases.  There are some deprecated functions, but on balance backward compatibility is pretty good, in my experience.  If you are a developer, all of the MS IDEs offer a project conversion wizard that updates projects to be compatible with the latest framework. 

Quote
Pretty soon we'll have 20 versions of .NET...

I very seriously doubt that.  The .NET Framework 3.5 is incredibly extensive.  I don't envision a slew of further versions beyond 3.5; but we'll see.
Win 10 Pro running on a 3.2 GHz CPU and 12 Gb RAM
__________________________________________

Proofreading Service: http://williammillerservices.com/proofreading

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #18 on: March 12, 2009, 12:10 AM »
Quote
.NET is a bit bad, I wonder why it's so big - and whether you need all the different .net versions or if eg. the 3.5 framework also supports all older versions.

The latest version, .NET 3.5, is backward compatible with versions 1.0 and 2.0 in most cases.  There are some deprecated functions, but on balance backward compatibility is pretty good, in my experience.  If you are a developer, all of the MS IDEs offer a project conversion wizard that updates projects to be compatible with the latest framework.
Does that mean I can uninstall all previous .NET versions and use 3.5 to run applications targetting, say .NET 2.0?
- carpe noctem

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #19 on: March 12, 2009, 12:17 AM »
.NET 3.5 also installs 2.0 :)

I very seriously doubt that.  The .NET Framework 3.5 is incredibly extensive.  I don't envision a slew of further versions beyond 3.5; but we'll see.

.NET 4.0 was announced in the last PDC so...

Josh

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,411
    • Gathering Badge
    • Official Forum Clown
    • Coding Snacks
    • Plugin Coding Medal
    • Volunteers/Staff
    • Military Service Badge - US Army
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #20 on: March 12, 2009, 12:24 AM »
Wait a minute, does this mean we can expect FARR v 3.1.4.1.3.5.1.2.34.192891 beta 1 aplha 4 gamma 89 smallbasic edition? COOL!
Strength in Knowledge

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • Participated in NANY Challenge Eight Times
    • Programming School - Deluxe Bonus Medal
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Military Service Badge - US Army
    • Writer
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #21 on: April 18, 2009, 01:56 AM »
Quote
.NET 3.5 also installs 2.0

.NET 3.5 is a superset of .NET 2.0.

Quote
Does that mean I can uninstall all previous .NET versions and use 3.5 to run applications targetting, say .NET 2.0?

Yes.
Win 10 Pro running on a 3.2 GHz CPU and 12 Gb RAM
__________________________________________

Proofreading Service: http://williammillerservices.com/proofreading

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #22 on: April 18, 2009, 04:34 AM »
.NET 3.5 also installs 2.0 :)

I very seriously doubt that.  The .NET Framework 3.5 is incredibly extensive.  I don't envision a slew of further versions beyond 3.5; but we'll see.

.NET 4.0 was announced in the last PDC so...

Don't forget the minor updates.  Like 3.51a SP3.  :)

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #23 on: April 18, 2009, 07:40 PM »
...except earlier dotNET versions don't want to uninstall, saying there's applications that need 'em - hmm! :huh:
- carpe noctem

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
Re: Microsoft releases SmallBasic for Newbie Programmers
« Reply #24 on: April 19, 2009, 03:37 AM »
Because of .net versions uninstalling mess I needed to reinstall my entire system today. I am not sure if I have any love left for .net. I know what that "." stands for now.
« Last Edit: April 19, 2009, 04:49 AM by kartal »

Original address: https://www.donationcoder.com/forum/index.php?topic=15756.0