This is awesome! Keep up the good work. As a fellow developer who began writing software around your age, I have some advice that is definitely subjective and biased, but which you may indeed find helpful. 1. Keep practicing. Practice makes perfect. Explore different languages, frameworks, and problem spaces (interfaces, servers, distributed systems, statistics, etc.) to see what you find most interesting. You will m…
Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
41–50 of 304 posts
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#42Good work. For a next step, I would suggest giving a try at breaking it up into multiple files using import/export statements (it doesn't need it but it's good practice), and using a bundler like Parcel to build the finished file. npm i --save-dev parcel-bundler ...then move your source JS files to a folder named src, and add to package.json... "scripts": { "prepare": "parcel --target node src/index.js" "start": " no…
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#43Good work. For a next step, I would suggest giving a try at breaking it up into multiple files using import/export statements (it doesn't need it but it's good practice), and using a bundler like Parcel to build the finished file. npm i --save-dev parcel-bundler ...then move your source JS files to a folder named src, and add to package.json... "scripts": { "prepare": "parcel --target node src/index.js" "start": " no…
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#44Earlier quoted context omitted.
I disagree. I'd say having all of the work in 1 commit makes it more likely to have been created by a young programmer. What impresses me the most, and makes me skeptical, is the good code style. I know at least 3 12 year old programmers who might be able to do this, but none of them have this diligence for style. The program is short enough and I was enough of a nerd at this age to be interested in doing something l…
The good style might be a result of using ESLint.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#45This is awesome! Keep up the good work. As a fellow developer who began writing software around your age, I have some advice that is definitely subjective and biased, but which you may indeed find helpful. 1. Keep practicing. Practice makes perfect. Explore different languages, frameworks, and problem spaces (interfaces, servers, distributed systems, statistics, etc.) to see what you find most interesting. You will m…
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#46Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#47Good work. For a next step, I would suggest giving a try at breaking it up into multiple files using import/export statements (it doesn't need it but it's good practice), and using a bundler like Parcel to build the finished file. npm i --save-dev parcel-bundler ...then move your source JS files to a folder named src, and add to package.json... "scripts": { "prepare": "parcel --target node src/index.js" "start": " no…
EDIT: story time. I once tried to make a 2D game engine in my late teens, but I wanted to be like the adults and have a proper class hierarchy. Suffice to say, I never finished it. Come to find a few years later, now class oriented OOP is passé and I was wrong to waste that time on it.
Learning to code and get things working is more cool (and in the end, more profitable) than making your code fit the norms of the day, which won't last anyway.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#48Technically, you shouldn't be using this site ;) > If you are under 13 years of age, you are not authorized to register to use the Site. But I applaud you for getting into programming this early.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#49Good work. For a next step, I would suggest giving a try at breaking it up into multiple files using import/export statements (it doesn't need it but it's good practice), and using a bundler like Parcel to build the finished file. npm i --save-dev parcel-bundler ...then move your source JS files to a folder named src, and add to package.json... "scripts": { "prepare": "parcel --target node src/index.js" "start": " no…
It's a program that fits in one screen and has 3 functions. No need for these trendy overcomplications.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#50Good work. For a next step, I would suggest giving a try at breaking it up into multiple files using import/export statements (it doesn't need it but it's good practice), and using a bundler like Parcel to build the finished file. npm i --save-dev parcel-bundler ...then move your source JS files to a folder named src, and add to package.json... "scripts": { "prepare": "parcel --target node src/index.js" "start": " no…
That last thing a 12 year old needs is a complicated build toolchain.