3 ms·
Thanks for the compliments! So actually, the ES5 targeting is my conscious choice for supporting Internet Explorer 11. Otherwise, you can see the use of the la
by nayuki 7y ago
Thanks for the compliments! So actually, the ES5 targeting is my conscious choice for supporting Internet Explorer 11.
Otherwise, you can see the use of the latest and greatest features in the TypeScript version: https://github.com/nayuki/QR-Code-generator/blob/master/typescript/qrcodegen.ts?ts=4 https://github.com/nayuki/QR-Code-generator/blob/master/type...
I began this project in 2016 because I got disappointed by code quality when browsing online for C/C++ QR libs. The JavaScript versions were even worse, especially ones that ported C code poorly and verbosely. On my web page, the bottom section titled "Compared to competitors" contains a detailed commentary.
On a related note, here you can learn about how QR Codes work at a low level: https://www.nayuki.io/page/creating-a-qr-code-step-by-step https://www.nayuki.io/page/creating-a-qr-code-step-by-step
- noir_lord 7y agoJust wanted to compliment you, this is a seriously impressive amount of work. I deal with QR codes at work (we use them for stock tracking) and the libraries previous Dev used aren't a patch on yours :).
- lioeters 7y ago> High-quality QR Code generator library in Java, JavaScript, Python, C++, C, Rust, TypeScript Excellent work! Really appreciate you open-sourcing this. In addition to its usefulness for QR code generation, having the same library in these different languages is educational for further study.