LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-07-2005, 04:41 AM   #1
enric
LQ Newbie
 
Registered: Jan 2005
Distribution: Suse 9.0
Posts: 1

Rep: Reputation: 0
learning to program (qbasic alternatives)


My little sister (8) has seen a friend trying to learn qbasic (only print and input stuff) and said: "I want to learn such a thing too. I am shure there is something similar for linux, maybie with a better ide" (we have a linux box.)

I said yes but I don't want to have to emulate dos with dosemu & co. I would rather prefer something native with an easy to use editor.

Personally I am experienced with C/C++/ASM but I don't know where to find the IDE she is seeking for.

any ideas?
 
Old 01-07-2005, 05:26 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
Python!
With gedit or idle as the editor?
 
Old 01-07-2005, 09:13 AM   #3
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
yeah, just remember to explain to her (gently) that it is not qbasic, it is better, and print off a good tutorial for her (python.org) and if she gets frustrated encourage her, but don't be the guy with all of the solutions (she'll never learn if you won't let her) just gently guide her to her solution. It might help if you learnt the basic "hello world" and compiling stuff. It's not that hard, and you can help her very easily.

titanium_geek (python rocks!)
 
Old 01-07-2005, 11:07 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'd not recommend python at all... it's great and stpuidly simple and clever once you "get" it, but the underlying style is odd, and can look pretty cryptic. A port of basic would be better i think.

http://www.yabasic.de/
http://wxbasic.sourceforge.net/

among others... wxbasic even has OpenGL support! those sites link off to other BASIC clones for unix or cross platform.
 
Old 01-08-2005, 09:22 AM   #5
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
hmmm... you might have a point acid.
She's only eight isn't she.

titanium_geek
 
Old 01-08-2005, 09:53 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
still not sure what an 8yr old girl is going to get out of learning to program anything at all... maybe in the 16 years i've not been 8 for, thigns have really moved up (or down??) in the world
 
Old 01-08-2005, 12:46 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I seem to remember writing simple programs in the old IBM advanced BASIC when I was 8. I seem to recall using GOTO a lot, not realizing what an incredibly horrible thing that was :-D.

I've actually heard that Smalltalk was a language that was at least partially designed to help teach programming to children. I've never played around with it much, though, and I'm not sure how good the GNU Smalltalk implementation is.
 
Old 01-09-2005, 02:58 PM   #8
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
hmmm... I wish I had gotten into the programming thing earlier... html and basic BEFORE highschool, java from maybe grade 9 up... sigh... so many languages, so little time.

titanium_geek
 
Old 01-09-2005, 03:08 PM   #9
uphu
Member
 
Registered: Dec 2004
Posts: 44

Rep: Reputation: 15
I wish I could have started when I was 8. Alas, my parents are AOLer noobs

Well, for an 8 year old I would suggest html. It gets you into the simple contex such as programs are nothing but code. Next, I would say php, but thats just be, and its not even a programming language really. But it feels like one.
 
Old 01-09-2005, 05:34 PM   #10
Genjix
Member
 
Registered: Oct 2003
Location: Pico
Distribution: SUSE 9.1
Posts: 83

Rep: Reputation: 15
I have a 11 year old sister, whos just learning c++ (knows quite a bit just from watching me .etc). I'd recommend just teaching here algorithmic concepts and advanced mathematics, and easing in c.
 
Old 01-09-2005, 07:45 PM   #11
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 31
what do you mean by advanced mathematics. I thought we were talking about an 8 year old.
 
Old 01-10-2005, 05:53 AM   #12
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
boolean algebra. This is really easy, but is called advanced mathematics because you usually don't learn it untill highschool. However the computer teacher is going against the trend and teaching the 3rd graders boolean algebra.

what is it?
and not or xor
and: are they the same?
not: are they different
or: is either true
xor: only one is true (exclusive or)

it is used for binary,
1 and 1 = 1, 1 and 0 = 0, 0 and 0 = 1
1 not 1 = 0, 1not 0 = 1, 0 not 0 = 0
1 or 1 = 1, 1 or 0 = 1, 0 or 0 = 0
1 xor 1 = 0, 1 xor 0 = 1, 0 xor 0 = 0

titanium_geek
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
QBasic for linux? guitargeek Linux - Software 11 12-24-2005 04:50 PM
Vi alternatives Gins Linux - General 9 09-05-2005 10:29 AM
Alternatives to x? ampex189 Linux - Software 9 03-22-2005 01:21 PM
Alternatives matahchuah Linux - Software 1 02-17-2004 05:08 PM
QBasic On Linux pnh73 Linux - Software 8 11-11-2003 01:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration