It seems this is aimed at young people learning how to program. My main problem with using Javascript as the first programming language to learn is the asynchronous callback paradigm, I believe it's too complicated a concept to teach in the very beginning (and you can't get around that with Javascript). When I evaluated different languages / environments to start teaching programming to my daughters I decided not to…
JavaScript itself is not async. It's the programs/engines that runs the scripting language that have decided to make it async with callbacks. For example Microsoft JS is not async. * ES2022? do have some garbage collection hook that uses a callback, so if that makes it into the standard you could say that JS/ES is async. JavaScript itself does not (yet) have any async functions.
Kaboom – JavaScript game programming library and environment
51–60 of 74 posts
Re: Kaboom – JavaScript game programming library and environment
#52Earlier quoted context omitted.
JavaScript itself is not async. It's the programs/engines that runs the scripting language that have decided to make it async with callbacks. For example Microsoft JS is not async. * ES2022? do have some garbage collection hook that uses a callback, so if that makes it into the standard you could say that JS/ES is async. JavaScript itself does not (yet) have any async functions.
'Async' here refers not only to the keyword but also to what is achieved, in classic javascript, through callback functions
Re: Kaboom – JavaScript game programming library and environment
#53Re: Kaboom – JavaScript game programming library and environment
#54OK, do yourself a favour and watch the introductory video. Probably the most unique intro I've yet to see for a programming library.
Re: Kaboom – JavaScript game programming library and environment
#55Earlier quoted context omitted.
There was Click and Create, I recall having some fun with that back in the day, with very little coding (none really)
I used click and create and others by clickteam very heavily growing up. Paved the way for making games very heavily for me. Wish that methodology was still around, you could do a lot with it.
Re: Kaboom – JavaScript game programming library and environment
#56Earlier quoted context omitted.
Yes, but it isn't the core way the language works -- you don't need to approach asynchronicity very early on as you do with JS, and it's not all closures. At some point someone learning Python will have to do something async. But what they can do up until then is just not do anything async, and that's fine (just wait for stuff to complete...). That's not really an option in JS: the great benefit of the language from…
Its been a while that I did somehing with python - but shouldn't event handlers work pretty much the same? Or in other words, how can eventhandlers work any other way than asynchronous? And you need eventhandlers for games.
Re: Kaboom – JavaScript game programming library and environment
#57OK, do yourself a favour and watch the introductory video. Probably the most unique intro I've yet to see for a programming library.
Reminds me of the Land of Lisp video—in a good way. http://landoflisp.com/
Re: Kaboom – JavaScript game programming library and environment
#58OK, do yourself a favour and watch the introductory video. Probably the most unique intro I've yet to see for a programming library.
Re: Kaboom – JavaScript game programming library and environment
#59OK, do yourself a favour and watch the introductory video. Probably the most unique intro I've yet to see for a programming library.
:) fully produced in-house by our designer Tga. Song on SoundCloud too https://m.soundcloud.com/replit/kaboom
Re: Kaboom – JavaScript game programming library and environment
#60previous discussion: https://news.ycombinator.com/item?id=26728774