Show HN: I taught my little brother JS, and he made this videogame in a week
191–200 of 285 posts
Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#192Look at the code guys [1]. I love it. This is simple. There is not a single line of bullshit. I hope he gonna become a great programmer and continue to make beautiful code like that. [1] https://github.com/S-poony/Ultra-Square-Catcher-USC-/blob/ma...
Agreed. There are so many JS projects these days composed of a dozen abstraction layers and barely-used libraries all mixed together and spread out across multiple files with an insanely complex "build system" on top, that it's very refreshing to see simple, self-contained JS.
Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#193Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#194Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#195Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#196Earlier quoted context omitted.
But what if he wanted to turn it into a AAA FPS game with RTS elements in a persistent online world that supports millions of simultaneous users?
If you're not joking and actually making that statement seriously you need to close your computer and go take a few hour walk.
Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#197Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#198Look at the code guys [1]. I love it. This is simple. There is not a single line of bullshit. I hope he gonna become a great programmer and continue to make beautiful code like that. [1] https://github.com/S-poony/Ultra-Square-Catcher-USC-/blob/ma...
My only complaint is the global scope pollution with the top-level variables and lack of ‘var’ for those. But other than that, I agree.
Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#199Earlier quoted context omitted.
Agreed. There are so many JS projects these days composed of a dozen abstraction layers and barely-used libraries all mixed together and spread out across multiple files with an insanely complex "build system" on top, that it's very refreshing to see simple, self-contained JS.
You don't need complexity until you do. Our company needed an internal tool, and they wanted remote access to it, but it was basically just a tool to generate a file based on a few inputs. We already had a command line program for it, so I wrapped it up in a web server and had it take input as a form input without any JS. It worked great for years, and then someone got tasked with updating it (mostly just combining i…