![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2007
Posts: 2
Rep Power: 0
![]() |
BASIC - the best sort...
I'm interested in programming in BASIC, but I'd like to here some opinions on the best or most popular cross-platform basic languages, so as I can code under Ubuntu and under XP.
I want to program in BASIC because I'm not a complete idiot and have programmed, albeit poorly in other languages, and BASIC looks very easy to pick up, and I'd like to spend about an hour on it later today, but I don't want to pick a rubbishy dialect of BASIC. I also don't want things like visual basic, or it's linux copy-cats, vb makes me feel ill, i'd like plain old, nice simply, retro, basic. Also, I'd like a compilable variety, I mean, interpreters are good so if theres a sort with an interpreter and a compiler that's good. But I also don't want to code in the sort of basic where the only two known coders are myself and a fifty year old man who lived with his mum in texas. Thank you for any recommendations or even better links. |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
BASIC (I presume you mean the original Dartmouth Basic or one of it's derivatives) is a terrible language for programming. I'm a 66-year old man who lived in Texas (with his mum, until age 18); I speak of BASIC, thus, with the requisite authority.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 4
![]() |
BASIC is rare outside the Visual Basic family of dialects, and most BASIC implementations are interpreted. Indeed, the design of BASIC was influenced by the need to make it easily interpreted by computers with little computational power. Additionally, plain BASIC is rather limited as a language, and does not have the best reputation for teaching good programming techniques.
It won't be long before "Python" is mentioned, so I'll mention it now. Python has linguistic similarities to BASIC, whilst having a far larger base of users, and is a programming language frequently recommended to newcomers. It's cross platform, has a large standard library, and whilst it doesn't have a compiler, you can make standalone executables via py2exe. I'll give you a quick comparison between the two languages, with a small application that prints out the times tables of a user entered number. Here is the application in the QBASIC dialect: qbasic Syntax (Toggle Plain Text)
python Syntax (Toggle Plain Text)
For instance, in Python its relatively easy to return a list of all URLs linked from a website: python Syntax (Toggle Plain Text)
|
|
|
|
|
|
#4 | |
|
Hobbyist Programmer
|
you want http://freebasic.net/
Quote:
FreeBASIC is crossplatform linux DOS and windows.
__________________
i dont know much about programming but i try to help |
|
|
|
|
|
|
#5 |
|
Professional Programmer
|
Qbasic really isn't good for more than making simple games or just screwing around with. If that's what you plan on doing, then ^.
__________________
Perhaps I should have a sticky topic for all of the times I "return" to this forum instead of a new one every time. |
|
|
|
|
|
#6 |
|
Hobbyist Programmer
Join Date: Sep 2007
Location: Sydney - Australia
Posts: 148
Rep Power: 1
![]() |
I am a big BASIC fan. It was my first language.
The Quick BASIC compiler / IDE is still good. I run it on my XP platform, and it is still happy. It is hard to find, but, search for Quick Basic 4.5 or go to phatcode.net and look on the compiler page for version 4.5. I used FreeBasic as while, and I HATE it. Too New School. I like old school. Also, some of the new student calculators have the BASIC language built in for macros, it is very powerful though. Hope this information helps. ![]() |
|
|
|
|
|
#7 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Please try to avoid dragging up old threads.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| converting string to float | beginnerCCC | C | 22 | Oct 2nd, 2006 11:59 PM |
| sort and swap | brad sue | C | 1 | Mar 25th, 2006 6:33 AM |
| [ANN] New script engine (Basic sintax) | MKTMK | C++ | 3 | Sep 1st, 2005 5:51 PM |
| interpolation search on a million | EverLearning | C | 24 | Jun 15th, 2005 2:42 PM |
| threaded merge sort help | AusTex | C | 1 | May 1st, 2005 4:58 PM |