I'd personally recommend using Ruby over BASIC these days if you're writing code on your computer to control stuff via USB. I already have a partially complete
littlewire rubygem available which can do all the basic stuff like servo control, pwm, analog, digital stuff. I didn't get around to testing all the i2c and SPI support, and didn't get around to even writing the OneWire support since I haven't needed to use any of those things so far. Check out the
littlewire rubygem site for a little example of how you can use it to write code on your computer. It looks fairly similar to the code you write in the Arduino software but with better debugging and you can use the 'irb' interactive ruby program to type in line by line and see results immediately.
The coolest part is that you can 'require' any other ruby libraries and hook your hardware projects up to stuff like sound cards, 3d graphics, game controllers, facebook, twitter, media centres, system services, email, phone calls, sms. The possibilities for connecting your own electronics to the worldwide system of computers are pretty incredible and really easy using the littlewire rubygem!
Ruby is a really nice language with a friendly textual grammar similar to basic but more forgiving and more powerful. It supports a lot of more modern programming concepts which allow for cleaner clearer programs and has an absolutely enormous collection of libraries called "gems" which can be installed by typing just one line in to your terminal app. You can check out the available libraries at
rubygems.org.
If you want to quick and dirty learn the basic stuff about ruby, do the interactive
Try Ruby tutorialIf you're feeling more silly and have a bit of time to kill
Why's (poignant) Guide to Ruby is incredible!
If you ever find yourself needing to use special libraries in the digispark to interface with specialised hardware you can use the DigisparkUSB library in your arduino sketch to pass strings back and forth to ruby through my
digiusb rubygem. It's a bit like using a serial port on a regular arduino.