jeffpar / pcjs.v1

PCjs Machines 1.0 (archived)
https://github.com/jeffpar/pcjs.org
GNU General Public License v3.0
475 stars 92 forks source link

Simplify embed/weblib code with Promise and async/await #65

Open mihailik opened 6 years ago

mihailik commented 6 years ago

Those make code way simpler to track and follow, and can be transcoded back to ES5 safely.

jeffpar commented 6 years ago

True, any async code I wrote pre-dates async/await (and probably isn't very well written by today's standards), but as long as it's not broken, it's low on my mental list of priorities. Not to say I wouldn't happily accept rewrites of any old crappy code.