Author Topic: learning  (Read 10398 times)

0 Members and 1 Guest are viewing this topic.

Offline mtc2629Topic starter

  • Contributor
  • Posts: 10
  • Country: 00
learning
« on: October 07, 2013, 01:27:57 am »
What is the easiest code to learn for a kid
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: learning
« Reply #1 on: October 07, 2013, 01:33:49 am »
Kids can write code?  ??? Well, I for one accept our new hircine overlords.

Dude... what kind of "kid"? Do you mean for yourself?
No longer active here - try the IRC channel if you just can't be without me :)
 

Online xrunner

  • Super Contributor
  • ***
  • Posts: 7517
  • Country: us
  • hp>Agilent>Keysight>???
Re: learning
« Reply #2 on: October 07, 2013, 01:36:07 am »
What is the easiest code to learn for a kid

FORTRAN.

Just kidding. Why not C? Might as well start off with something mainstream. Most of it isn't that hard to understand.
I told my friends I could teach them to be funny, but they all just laughed at me.
 

Offline tehmeme

  • Regular Contributor
  • *
  • Posts: 102
  • Country: gb
Re: learning
« Reply #3 on: October 07, 2013, 01:48:56 am »
What are you going to use the code for?
Hardware control? Software?
How old is the kid?

I just noticed you joined and posted 5 posts all within 5 minutes, are you really looking for answers or is this a ploy to enter the contest?

 

Offline hechen

  • Newbie
  • Posts: 7
Re: learning
« Reply #4 on: October 07, 2013, 01:52:18 am »
python wouldn't be a bad place to start.
 

Offline Maximus64

  • Newbie
  • Posts: 9
Re: learning
« Reply #5 on: October 07, 2013, 01:59:20 am »
Python or C#
 

Offline Toble_Miner

  • Contributor
  • Posts: 10
  • Country: de
  • Into electronics, C, C#, Java, AVR, Linux, Brony
Re: learning
« Reply #6 on: October 07, 2013, 02:00:53 am »
Also Java is not too bad to start with.
 

Offline JoshDS

  • Newbie
  • Posts: 2
Re: learning
« Reply #7 on: October 07, 2013, 02:21:41 am »
Python.

Lots of good stuff to read and watch here. Just find the Introduction To Computer Science course.
https://www.udacity.com
 

Offline Fsck

  • Super Contributor
  • ***
  • Posts: 1157
  • Country: ca
  • sleep deprived
Re: learning
« Reply #8 on: October 07, 2013, 02:24:14 am »
python wouldn't be a bad place to start.

ditto. python's pretty damned easy. But C would be way more useful, especially since C++ gives you objects and a quick hop to CUDA.
"This is a one line proof...if we start sufficiently far to the left."
 

Offline gman4925

  • Regular Contributor
  • *
  • Posts: 51
  • Country: us
Re: learning
« Reply #9 on: October 07, 2013, 02:35:26 am »
BASIC is pretty basic to learn, but also basic in it's ability.
 

Offline drake

  • Newbie
  • Posts: 7
Re: learning
« Reply #10 on: October 07, 2013, 02:50:42 am »
I would recommend python. You can play with it on a raspberry pi and do web side scripting too. I find most of my projects need an I/o device and using the webserver within python is a easy to use powerful tool where you don't need to reinevnt the wheel by trying to write your own ip based server.
 

Offline MrAureliusR

  • Supporter
  • ****
  • Posts: 373
  • Country: ca
Re: learning
« Reply #11 on: October 07, 2013, 03:05:49 am »
I just noticed you joined and posted 5 posts all within 5 minutes, are you really looking for answers or is this a ploy to enter the contest?

I think this is what's going on... I hope Dave takes notice and disqualifies this person if that is the case. I'm not against posting 5 posts to enter the contest, but as Dave mentioned they have to be GOOD posts... not something vague and clearly thought up on the spot  :palm:

EDIT: just looked at mtc2629's posts, and yes it's very clear that's what they were doing as post #6 was an entry to the contest. I think it's very important a mod or admin look at this and see if it's someone double dipping!
« Last Edit: October 07, 2013, 03:07:34 am by MrAureliusR »
--------------------------------------
Canadian hacker
 

Offline peter.mitchell

  • Super Contributor
  • ***
  • Posts: 1567
  • Country: au
Re: learning
« Reply #12 on: October 07, 2013, 03:48:53 am »
x86 assembly.
 

Offline Greyersting

  • Regular Contributor
  • *
  • Posts: 76
  • Country: us
  • Electronics noob
Re: learning
« Reply #13 on: October 07, 2013, 04:16:56 am »
What is the easiest code to learn for a kid

FORTRAN.

Just kidding. Why not C? Might as well start off with something mainstream. Most of it isn't that hard to understand.

I think C might scare a kid away.  He should try Python and if that is too much maybe go with C# (I will never recommend Visual Basic).
Contact-
Greyersting2@gmail.com
 

Offline AG6QR

  • Frequent Contributor
  • **
  • Posts: 857
  • Country: us
    • AG6QR Blog
Re: learning
« Reply #14 on: October 07, 2013, 04:45:30 am »
What is the easiest code to learn for a kid
Morse Code.


I agree, the "question" was one of several made in a really blatant attempt to get 5 posts for the contest.  I'll point out that the rules require five useful posts, so I can't imagine mtc2629's entry meeting the criteria.

Nevertheless, I still couldn't resist providing the correct answer.  Sorry.
 

Offline Greyersting

  • Regular Contributor
  • *
  • Posts: 76
  • Country: us
  • Electronics noob
Re: learning
« Reply #15 on: October 07, 2013, 04:48:19 am »
x86 assembly.

Hah.  Everyone knows you need to know how to make punched cards before you can code.
Contact-
Greyersting2@gmail.com
 

Offline chibiace

  • Regular Contributor
  • *
  • Posts: 74
  • Country: nz
Re: learning
« Reply #16 on: October 07, 2013, 06:09:11 am »
arduino perhaps.
He Who Controls The Spice Controls The Universe
 

Offline kizzap

  • Supporter
  • ****
  • Posts: 477
  • Country: au
Re: learning
« Reply #17 on: October 07, 2013, 06:21:01 am »
Definately solder. Easiest language to learn ever.

Pros:   Indiscriminate, Definitive, and Universal.
Cons: (see Pros)

Alternately program in Binary.

-kizzap
<MatCat> The thing with aircraft is murphy loves to hang out with them
<Baljem> hey, you're the one who apparently pronounces FPGA 'fuhpugger'
 

Offline BobbyK

  • Regular Contributor
  • *
  • Posts: 71
  • Country: at
    • GameDesignIdeas
Re: learning
« Reply #18 on: October 07, 2013, 08:10:31 am »
I will have to disagree with many of the answers here, even the serious ones - especially the serious ones!

If you want to get a kid or teenager interested in programming you don't choose your language for power, extensibility or even ease....you choose the language that will get them motivated to learn a lot more on their own - preferable a language that will allow them to create really cool things very fast. For that reason I suggest you introduce your kid to something like GameMaker.

Game Maker will allow any kid above 5 or 6 to make their own little interactive games with minimal scripting. It uses a very simple scripting language:

http://en.wikipedia.org/wiki/Game_Maker_Language

that works mostly on objects in the game world, and is super easy to understand - and actually puts the kids in a very beneficial object-oriented mindset. It directly interfaces with visible on-screen game sprites and objects, and they won't need to wad through tons of libraries to learn the skill to make something that motivates them. I have taught quiet a few kids (7-12) how to use game maker, and most still use it today to prototype their ideas, and most have easily made the transition to other languages.
 

Offline tehmeme

  • Regular Contributor
  • *
  • Posts: 102
  • Country: gb
Re: learning
« Reply #19 on: October 07, 2013, 11:54:12 am »
I just noticed you joined and posted 5 posts all within 5 minutes, are you really looking for answers or is this a ploy to enter the contest?

I think this is what's going on... I hope Dave takes notice and disqualifies this person if that is the case. I'm not against posting 5 posts to enter the contest, but as Dave mentioned they have to be GOOD posts... not something vague and clearly thought up on the spot  :palm:

EDIT: just looked at mtc2629's posts, and yes it's very clear that's what they were doing as post #6 was an entry to the contest. I think it's very important a mod or admin look at this and see if it's someone double dipping!

In my opinion joining for the contest is fine, but, putting the effort to respond in a meaningful way dictates that the op really wants an honest answer.

I've seen some new joiners post some good quality contributions to some pre-existing threads (much more valuable and meaningful than anything I have posted myself).  I only hope they continue to do so in the long run as this would be a welcome injection of new viewpoints, expertise and addition to the overall pool of knowledge and diversity.

I will have to disagree with many of the answers here, even the serious ones - especially the serious ones!

If you want to get a kid or teenager interested in programming you don't choose your language for power, extensibility or even ease....you choose the language that will get them motivated to learn a lot more on their own - preferable a language that will allow them to create really cool things very fast. For that reason I suggest you introduce your kid to something like GameMaker.

Game Maker will allow any kid above 5 or 6 to make their own little interactive games with minimal scripting. It uses a very simple scripting language:

http://en.wikipedia.org/wiki/Game_Maker_Language

that works mostly on objects in the game world, and is super easy to understand - and actually puts the kids in a very beneficial object-oriented mindset. It directly interfaces with visible on-screen game sprites and objects, and they won't need to wad through tons of libraries to learn the skill to make something that motivates them. I have taught quiet a few kids (7-12) how to use game maker, and most still use it today to prototype their ideas, and most have easily made the transition to other languages.

I concur, your response is insightful and hits the nail squarely on the head. At younger ages motivation and a clear achievable target are prime triggers for a continued interest in the subject, assuming the op's idea of a "kid" is of that age range and assuming no prior knowledge of any other language or programming concepts.
« Last Edit: October 07, 2013, 12:10:13 pm by tehmeme »
 

Offline HamiltonHipster

  • Contributor
  • Posts: 14
Re: learning
« Reply #20 on: October 07, 2013, 12:06:07 pm »
  Just look for anything that interests you and start there.

  Learning a programming language can often be secondary to wanting to do something cool with game-development or whatever the interest is in.   I only seriously learnt math because of electronics  ;)

Good luck :)
 

Offline Rigby

  • Super Contributor
  • ***
  • Posts: 1476
  • Country: us
  • Learning, very new at this. Righteous Asshole, too
Re: learning
« Reply #21 on: October 07, 2013, 01:38:35 pm »
If you're going to do object orientation, then stick with it all the way.  I think a child would grasp OO far more easily than an adult with previous coding experience.  OO is kind of the natural way to program, to me, even though I cut my programming teeth on Perl and PHP.

I don't know jack about Python, but it has always turned me off because of the followers.  Anything a lot of people get very zealous about is something to be avoided, IMO.  In the circles I'm usually involved in Python is talked about a lot, and if even half the stuff I've heard is true, Python is better than any language ever invented, past, present or future.  There is NO WAY a single language can be as good for every problem as I've heard.

Don't underestimate children; they're smart.  Don't pick a kiddy language like Logo or Basic.  A child can learn proper OO techniques and Java or C# at the same time.  Teach them what you're capable of teaching them, really.  They're going to come to you for questions; be ready with the answers.
 

Offline Lifeboat_Jim

  • Contributor
  • Posts: 15
  • Country: gb
    • RNLB Edmund and Mary Robinson, historic 1938 ex-RNLI lifeboat
Re: learning
« Reply #22 on: October 07, 2013, 02:02:47 pm »
I'd say C#, if there are no other considerations.

As a beginner you want a language that is fully 'managed', with plenty of documentation & tutorials etc. People soon run into problems with C, or even C++ when it comes to structures and memory management. Python would be another good alternative (and quite a few packages are using Python derived for internal scripting such as Blender).

Offline victor

  • Regular Contributor
  • *
  • Posts: 110
  • Country: 00
  • Boy who writes code and take things apart
    • vitim.us
learning
« Reply #23 on: October 09, 2013, 02:31:34 pm »
Code academy is a great start point with Javascript, I would highly recommend it.
And once you get your mind around it dive into C  foundation of everything out there.

I would stay away from Java at first look, there are too many distractions of IDEs and Libraries, focus on the programming logic first, when you're comfortable with algorithms you can focus on learning libraries and frameworks.

codeacademy.com
your body is limited, but not your mind
 

Offline TheTurnerFromNorway

  • Newbie
  • Posts: 2
  • Country: no
Re: learning
« Reply #24 on: October 09, 2013, 02:44:32 pm »
What is the easiest code to learn for a kid

Python perhaps? It is easy and powerful.
TheNewBoston on youtube have many tutorials on programming, you should check him out! His Python tutorials can
be found here: http://thenewboston.org/list.php?cat=36
 

Offline travellerw

  • Contributor
  • Posts: 12
Re: learning
« Reply #25 on: October 09, 2013, 03:30:55 pm »
If you just want them to learn how coding works and basic things like logic trees, IFs, Case and loops then I would start them in VBS. You can start writing VBS scripts to do various useful things on your Windows computer (like empty recycle bin when too full). Its a great way to get exposed to programming and there are millions (and I mean millions) of lines of code on the Internet if you get stuck.

Heck I still use basic everyday when I need to bang something out quick and dirty (I use Proton for PICS).
 

Offline logman

  • Newbie
  • Posts: 7
  • Country: us
Re: learning
« Reply #26 on: October 10, 2013, 05:58:21 am »
c++
 

Offline ivaylo

  • Frequent Contributor
  • **
  • Posts: 661
  • Country: us
Re: learning
« Reply #27 on: October 10, 2013, 06:43:27 am »
If you don't want to scare the kid away try http://scratch.mit.edu first.
 

Offline hedgewallace

  • Contributor
  • Posts: 34
  • Country: au
Re: learning
« Reply #28 on: October 10, 2013, 07:33:33 am »
The easiest code would probably be HTML.
I have done quite a bit of HTML, and i find it very easy.
I have made very simple websites, to more complex websites by watching YouTube videos.
It is very easy to understand, and pick up.
There are many programs that you can use to code HTML. Even notepad can be used.
 

Offline fluxcapacitor

  • Frequent Contributor
  • **
  • Posts: 345
  • Country: gb
Re: learning
« Reply #29 on: October 10, 2013, 10:11:27 am »
+1 for scratch , on a raspberry pi ,then move them onto python or even perl ,then C / C++ .If coding comes naturally to them theyll try more languages and find their own way .
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: learning
« Reply #30 on: October 10, 2013, 11:19:20 am »
I learned basic when I was about 6 years old. I think Arduino could become the new basic and it is a good entry into c and c++.

I also learned logo as a kid and remember really liking PASCAL but it's a useless language for the most part now.

Visual Basic would always be a good one as well.
« Last Edit: October 10, 2013, 11:21:04 am by Stonent »
The larger the government, the smaller the citizen.
 

Offline ivaylo

  • Frequent Contributor
  • **
  • Posts: 661
  • Country: us
Re: learning
« Reply #31 on: October 10, 2013, 04:32:58 pm »
Quote
+1 for scratch , on a raspberry pi

For a gentle introduction I'd do Scratch on a PC/laptop then move straight to  http://beta.appinventor.mit.edu/about/ (after setting it up for the kid). It's the same concept but the wow factor is immense. It's absurd but with all this technology at your fingertips today I feel it is actually getting harder if you are a kid to do anything electronics/programming and impress your friends (unlike the 80s when a 2 transistor bicycle siren on a mangled PCB got me older kids' respect and a little business on the side). Now, showing them something on the phone you did, wow... Otherwise you have to have a pretty nerdy kid to be able to hit them straight with object orientation, raspberry pi and what not and not make them think you are weird.
 

Offline WhiteWolf

  • Contributor
  • Posts: 16
Re: learning
« Reply #32 on: October 11, 2013, 08:39:08 am »
Java is easy to start learning from and then move on to C or C++ :)
 

Offline Gravity1337

  • Newbie
  • Posts: 9
  • Country: us
Re: learning
« Reply #33 on: October 12, 2013, 06:13:00 am »
Any C-based/style will be the best foundation for understanding other languages. Most of the stuff mentioned falls into this category - stay away from the quirky "fashionable" stuff that pops up all the time. Stick with the tried and true :D
 

Offline geraldjhg

  • Regular Contributor
  • *
  • Posts: 61
  • Country: ar
Re: learning
« Reply #34 on: October 14, 2013, 06:40:50 pm »
morse code
G E R A L D
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: learning
« Reply #35 on: October 14, 2013, 07:22:00 pm »
I went from Basic to DOS batch and then pascal in HS and college and then C. I've dabbled a little in Bourne/Bash scripting and have modified python scripts without having any training in it. HTML I typically steal some code from a webpage that is useful. Visual basic I tend to Google what I need and use it.
The larger the government, the smaller the citizen.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf