34 ms·
Neat! The actual COBOL is pretty minimal, just tracking where the balls and paddles are and then calling out to update the DOM. It doesn't look anywhere near as
by angrygoat 6y ago
Neat! The actual COBOL is pretty minimal, just tracking where the balls and paddles are and then calling out to update the DOM. It doesn't look anywhere near as horrific as I would have expected :)
https://github.com/moxon6/cobol-js-emscripten/blob/master/cob/main.cob https://github.com/moxon6/cobol-js-emscripten/blob/master/co...
- Tade0 6y agoMy take is that people who fear COBOL probably haven't seen pre-ES5[0] JavaScript. [0] While ES2015 was a major leap in and of itself, it wouldn't have happened had ES5 not laid the groundwork by introducing "minor improvements" that we now take for granted like JSON, strict mode and Function.prototype.bind to name a few.