Live data from Hacker News

Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

bitbucket.org

111–120 of 304 posts

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#112

Great job! One way to improve this code is to add comments. Use comments to describe what each function does and what the parameters are supposed to be. Then you can tell at a glance what the function does without having to analyze the code later on. Us old people tend to forget things.

Also, if you use JSDoc a lot of modern editors can use that to automatically provide type hinting, documentation references on mouseover, etc.

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#113
post #97

Earlier quoted context omitted.

I third this. Speaking from personal experience. I sometimes try to implement the logic of some library or algorithm myself, even if I know there is well-known or canned solution for it. For the same reason as you and your parent comment said. Interestingly, some people (typically newbies who are looking for rewards without commensurate effort. but others too) do not think that way, and even sometimes don't like it i…

>...sometimes don't like it if such suggestions are made I'll admit to occasionally being frustrated by comments like this. It's important to remember that not everyone is looking to learn. Sometimes, they just need to get something done ASAP. It's a bit idealistic to assume that everyone has time to learn the canned solution. The real world doesn't always allow for that.

Sure, but it's still a valid advice that might be helpful to others.

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#114
post #89

Congratulations! I showed your project to my 12 year old son who has just started to learn programming (in JS no less!) and his jaw dropped. In addition to being a programmer, you are now a role-model. Really well done.

Thanks a ton! Tell your son that it took me a while, and a lot of work, but it feels great to finish something (there are a lot of projects that I don't finish...). I began learning using Scratch a long time ago. They even featured me last year (the project was a solar system in which I used sine and cosine to calculate the rotation of the planets). I then used blocklike.js to move to JS. I watch a lot of YouTube vid…

> there are a lot of projects that I don't finish...

You and me both. :)

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#116
post #89

Congratulations! I showed your project to my 12 year old son who has just started to learn programming (in JS no less!) and his jaw dropped. In addition to being a programmer, you are now a role-model. Really well done.

Thanks a ton! Tell your son that it took me a while, and a lot of work, but it feels great to finish something (there are a lot of projects that I don't finish...). I began learning using Scratch a long time ago. They even featured me last year (the project was a solar system in which I used sine and cosine to calculate the rotation of the planets). I then used blocklike.js to move to JS. I watch a lot of YouTube vid…

Startup Idea: Start a slack/discord group for aspiring students between the ages of [pick your age range, say (8-18)] and start a mentoring/support group with these like-minds...

You'll learn, build relationships and some of you will go off and found companies together.

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#117

Earlier quoted context omitted.

Thanks a ton! Tell your son that it took me a while, and a lot of work, but it feels great to finish something (there are a lot of projects that I don't finish...). I began learning using Scratch a long time ago. They even featured me last year (the project was a solar system in which I used sine and cosine to calculate the rotation of the planets). I then used blocklike.js to move to JS. I watch a lot of YouTube vid…

Startup Idea: Start a slack/discord group for aspiring students between the ages of [pick your age range, say (8-18)] and start a mentoring/support group with these like-minds... You'll learn, build relationships and some of you will go off and found companies together.

Starting a Slack group for students is a good idea, but decidedly not a startup idea.

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#119

Earlier quoted context omitted.

Would you please provide an example on how one proceed with T shaped learning and expertise?

That's a good question. I left that intentionally broad so as not to prescribe a certain type of learning system or self-education. There's a lot of ways to learn anything, but I would say that the first step is pursuing a variety of subjects that you find interesting, and even some you think are boring. A lot of seemingly boring things I've found turn out to be quite fascinating when it comes down to it. (e.g. datab…

Thanks for replying, Giles!

I see just dabbling in whatever interests and experimenting with them takes one forward.

What you wrote is profoundly impactful.

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#120

Earlier quoted context omitted.

Thanks a ton! Tell your son that it took me a while, and a lot of work, but it feels great to finish something (there are a lot of projects that I don't finish...). I began learning using Scratch a long time ago. They even featured me last year (the project was a solar system in which I used sine and cosine to calculate the rotation of the planets). I then used blocklike.js to move to JS. I watch a lot of YouTube vid…

> there are a lot of projects that I don't finish... You and me both. :)

He's one of us :)
Post reply on HN