wolfram-cellular-automata
Learning and science
cellular automata
SHOW HN2018
Legend
wolfram-cellular-automata
I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
bitbucket.orgHow HN took it
56 positive, 23 neutral or asking, 0 mixed, 9 critical, out of 88 comments about the project. Thread score +0.59.
Execution: 6 for, 2 againstDesign: 0 for, 2 againstIdea: 1 for, 0 againstDocs: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Impressive work for a 12-year-old learner
From 3 comments
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,…
sramam on HNThis 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…
gilesvangruisen on HNKeep it up, this is exactly how great programmers are made!
wavefunction on HN
Clean, readable code
From 2 comments
I like how the array named 'map' reflects our original use of this word, rather than the special meaning which it has acquired to programmers. In Javascript and other languages…
strainer on HNGood job! I mentor college CS majors whose code is not as clean as this. Seriously. I would also recommend checking out The Coding Train. NYU ITP Daniel Shiffman's lectures on…
ArtWomb on HN
Inspiring to other young programmers
From 2 comments
Congrats! I have shown this to my 13 and 12 year old sons to inspire them.
chriselles on HNCongratulations! 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,…
sramam on HN
Objections
Doubt that a 12-year-old wrote it, based on writing style
From 2 comments
I guess I'm the only one here doubting that the combination of both this project and the language used in the comment replies is coming from a 12 year old. Take it as a…
jcrza on HNExcuse my portion of scepticism, it's not the fact that a "12 year old" built this, sure anyone can learn how to code and we can't know how much help this person got along the…
da_murvel on HN
Code could use comments and has small bugs such as repeated setTimeout calls
From 2 comments
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…
test6554 on HNNice work. I'm not a JS expert but I think I saw a bug. Inside of animate() you are calling setTimeout() to automatically call animate repeatedly but this is also calling…
Qwertie on HN
Requests
Add comments to the code
From 1 comment
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…
test6554 on HN
Split code into modules and use a bundler
From 1 comment
Good 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…
crooked-v on HN
Port to Python or Go
From 1 comment
Great! Now redo this in Python and GoLang :)
mvpu on HN
Questions
What resources were used to learn Node and JS
From 1 comment
That's awesome. What resources did you use to learn Node and JS? Just looked at your code. Kid. You're a badass. Keep this up, you'll go places.
rjplatte on HN
Alternatives named
Observable notebook version
From 1 comment
Great work! I made a quick Observable notebook out of your code, in case anyone wants to see what it does without downloading or running it on their own machine:…
jacobolus on HN
Repl.it version
From 1 comment
That's really awesome. Here it is running in a Node repl in the browser if you want to try it quickly (the code verbatim but hardcoded the rule number to 18)…
amasad on HN