Advertisement

daughter wants to learn coding

Started by July 01, 2017 06:53 PM
11 comments, last by Bregma 7 years, 4 months ago

I am a professional and certified Network Engineer for a large telecom in the US.  I do limited programming at work but do a lot of hobby stuff on my own and consider myself very proficient.  I also have a Bachelor's and Master's degree in Computer Science.

 

My daughter (almost 10 years old) has expressed to me that she would like to learn to code.  And that has me nerding out lol.  I would like some feedback on what language would be good to start with.  I am very proficient in C, C++, C#, Java, and Python so one of those would be best.  I do not want to use just one of the visual editor WYSIWYG editor or anything like that for programming.  Just an IDE and compiler/interpreter.

I was thinking Java might be the one to go with.  Any suggestions?

She's 10, so you should teach her programming using some visual programming tools/editor or other similar interesting stuff. She will lose interest quickly if you teach her in the traditional way, but if you still want to teach her that way, then I'd suggest JavaScript or C#.

Advertisement

Def javascript. It automatically handles data types and can quickly show its results. It is a descendant of the C languages so u could pick it up in 20 mins. 


Alert("hello world");// this is a valid javascript program

Also there is an app called sololearn that u both can use

I would suggest C#.  Its easy for beginners, but can scale up as well.  Its got a lot of good tutorials, you can get graphics/UIs up and running quickly and easily, tons of frameworks.  I'm not a huge MS fan, but they really nailed C#, it really is an amazing language.

Your daughter sounds awesome, best of luck to her :)

Maybe you should consider looking into Khan Academy's coding stuff? They have several options available, targetted at different age ranges.

https://www.khanacademy.org/hourofcode

 

EDIT: One thing that might be important is figuring out why she wants to code. What kind of stuff does she want to do, or what could motivate and inspire her? Then steering the teaching towards things of that nature.

Hello to all my stalkers.

Python + pygame is another option.

Advertisement

She's 10, so you should teach her programming using some visual programming tools/editor or other similar interesting stuff. 

Well I tried to start when I was 10, And I tried web development(because I had a CD with few * .html files and I accidentally opened them with Notepad)  and I remember that I learned the <img> tag and I did a small onClickEvent that changes the image, And my 1st questions were "How does the computer now that the mouse was actually over the image? How does it know that I clicked with the mouse? ect...", so basically I was looking for something on a lower level, It took me a couple of years to find something about C++.

Additionally you should try to understand if she is interested in the programming itself ,or in game programming, web programming ect? I think this is the 1st question. If she isn't interested in games maybe throwing her at "Phyton + pygame" or "Lua + Lua Love" wouldn't be a great idea.

Otherwise C++ turned out to be right thing for me.

Learning programming typically goes a lot better if you are learning it to fulfill a secondary goal. That secondary goal may well pick your language/framework for you.

Is she interested in robotics? Maybe look at something like Lego Mindstorms to start, and then move to Arduino later on.

Is she interested in game development? Dive right in with Unity, so that you minimise the time-to-seeing-stuff-happen-on-screen barrier.

And so on...

Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

Depending on her specific interests, you might want to also look into organizations like App Camp for Girls and Girls Who Code and see if there are any locations near you.

I was in a little summer school class that "taught" logo after 4th grade ... but I taught myself to program in gwbasic at 11 years only.  By simple randomly pulling a command out of a reference manual, looking at the example, and trying to imagine a way to use it.  Sometimes i'd have to skip 2-3 commands that didn't make sense to me immediately ... something I would think of something "cool" ... and then i'd do it.  In this way I created a D&D character editor, a script that played a piece of sheet music, and a randomized shape coloring screen saver all in 1 summer at 11.  But the key to me was - 1, it was exploratory for me, a fun hobby for me - more "coolness" oriented than outside goal driven.  And 2, there system didn't put a lot of road blocks in my way.  I didn't have to learn to write 200 line "skeleton" programs to be able to see the output of my work.

Now I personally use C# (and used to use C++), and I don't like javascript or python much.  But ... I think javascript or python are your 2 best choices here.  With ruby next, and C# next.  And I recommend C# over Java .. because there seem to be more "simple" things for beginners in C# than java (unless you are learning CS more like a student).

Console programming with a language like python or ruby ... will be able to feel like basic used to ... fast and immediate responses.

There are soooo many good resources for beginning python ... and a few great ones for ruby too.  I assume they must also exist for javascript, but I haven't read any myself.

 

This topic is closed to new replies.

Advertisement