Help once I've mastered Scratch...

General programming chat and advice for beginners

6 posts
by UnknownDestiny00 » Sun Aug 12, 2012 9:19 am
I mastered Scratch years ago, and now that I've got the RasPi I don't know what to do next. Can someone give me a tutorial for what to do now? Don't make it too complicated, I'm only 12.
Posts: 2
Joined: Sun Aug 12, 2012 9:08 am
by UnknownDestiny00 » Sun Aug 12, 2012 10:15 am
And another thing, I already have programs installed, so don't bother telling me how to install them.
Posts: 2
Joined: Sun Aug 12, 2012 9:08 am
by jackokring » Sun Aug 12, 2012 10:29 am
Maybe try to make some of the programs you made in scratch in a language like python. They don't have to be exact copies, just similar so you can get used to python's structure. Programming in the working world uses libraries of programming done by other people. Finding a nice library is often the hardest decision.

Read lots of code written by others, imagine how you could use it.

Cheers Jacko
Pi=B256R0USB CL4SD8GB Raspbian Stock. https://sites.google.com/site/rubikcompression/strictly-long https://dl.dropboxusercontent.com/u/1615413/Own%20Work/Leptronics.pdf https://groups.google.com/forum/#!topic/comp.compression/t22ct_BKi9w
User avatar
Posts: 784
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
by Gert van Loo » Mon Aug 13, 2012 4:13 pm
Somewhere there is the Python 'snake' code Eben uses as introduction to programming.
That might be a very good 'next' step.
I have no idea where it is or how much the code depends on Eben guiding you through it.
User avatar
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2112
Joined: Tue Aug 02, 2011 7:27 am
by dom » Mon Aug 13, 2012 4:26 pm
Gert van Loo wrote:Somewhere there is the Python 'snake' code Eben uses as introduction to programming.
That might be a very good 'next' step.
I have no idea where it is or how much the code depends on Eben guiding you through it.


It's preinstalled on the Wheezy images. Look in:
/home/pi/python_games/wormy.py
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4104
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by jmacey » Mon Aug 13, 2012 5:06 pm
I also agree with doing things you do in scratch in other languages, python or C are good ones to start with. Python being the simplest as you can just type into the console.

Have you played with the examples of programming in the MagPi ( http://themagpi.com/ ) the programming tutorials are really good.

The only thing I would point out is that some languages like C/C++ or Java will take a lot more to get interesting results compared to using scratch. It is a lot more complex to do graphical things in a simple way but that is also part of the learning process.

In python you could have a look at the turtle module which will allow you to do some drawing things easily. Start by looking here http://docs.python.org/library/turtle.html

Jon
Posts: 135
Joined: Thu May 31, 2012 1:05 pm