IANAL and all that and it doesn't bother me, but the first thing I thought of was the age related ToS restrictions from the HBO Silicon Valley show. From the HN "legal" page: > If you are under 13 years of age, you are not authorized to register to use the Site. https://www.ycombinator.com/legal/ I assume no 12 year olds actually try to follow this boilerplate on the internet. Do sites that require a DOB to sign up r…
Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
191–200 of 304 posts
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#192Earlier quoted context omitted.
Is this serious? I started programming around 9 or 10 on a Commodore 64. I would go to the local library to get programming books for it. Now you can hit F12 in your browser and get a powerful console into JS. JS is fine, encourage the thirst for knowledge.
JS is an objectively bad programming language. It is not fine, it is just annoyingly common and convenient. The main advances in its ecosystem are related to transpiling it from other, saner, languages. If he has fun writing JS, then great for him. He's 12, he'll do it if he wants. But it'd be doing him a disservice not to open his eyes to much wider, greener pastures of the programming world.
- devtools are unmatched for browser development (and getting better for node)
- absolutely best language for prototyping (dyn. typing, monkey-patching, eval, and a lot of other "evil" things you usually don't need in further phases but it's really great to have them for this exploratory phase)
- I respect that some people prefer static typing and code-completion but I prefer writing tests and having few well-known libraries for which I don't need completion at all
- no threads, no mutexes, no locks
- object literal, rest-spread, destructuring, classes are just ordinary (and mutable) objects, etc...
If you think people are doing JS just because it's the only language in the browser (not true anymore) you should seriously reconsider. There were to-js compilers before and it was always awful (remember gwt? dart?)
Of course, it depends on use-case, JS is not the best language for everything.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#193Earlier quoted context omitted.
What you mean is setInterval and does work well for synchronous execution. His approach is correct and would even work if the animate function is asynchronous as the next tick gets scheduled at the end of animate function execution.
Ah yes, you are right. Got those mixed up.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#194Earlier quoted context omitted.
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.
I'm 21 but I wish something like this existed when I was younger!
The mentality of those taking boot camps, and the mentality I had when I started coding are vastly different, but I can see the use.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#195Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#196Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#197Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#198Earlier quoted context omitted.
Is this serious? I started programming around 9 or 10 on a Commodore 64. I would go to the local library to get programming books for it. Now you can hit F12 in your browser and get a powerful console into JS. JS is fine, encourage the thirst for knowledge.
JS is an objectively bad programming language. It is not fine, it is just annoyingly common and convenient. The main advances in its ecosystem are related to transpiling it from other, saner, languages. If he has fun writing JS, then great for him. He's 12, he'll do it if he wants. But it'd be doing him a disservice not to open his eyes to much wider, greener pastures of the programming world.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#199Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#200Earlier quoted context omitted.
Ok I'll bite....where is this very specific advice coming from?
From a guy that was doing cool things with a computer at age 12 but instead of starting to workout at age 12, started at age 18. Any age is good to start working out but sooner is better.