Also. Fuck JavaScript. ๐Ÿ˜‚ nostr:note15adgc5k4nc2l2jr78jpwvlm76wcpm4wexuxsheatkt3cpg7jp4xq5dzc5w

Reply to this note

Please Login to reply.

Discussion

๐Ÿ’ฏ has anyone actually figured out how to properly build a typescript library so it works with cjs and esm? I hold the controversial opinion that javascript was actually fine before es6.

๐Ÿ’ฏ I agree. Controversial or not.

Feels like the entire thing hangs together with duct tape and hope at this point. So many layers of โ€œfeatures โ€œ.

I have been reading a lot of C++ and Python code in the last few days and they are pretty awful and unreadable too. Although, there *is* comments to the effect regarding the C++ code that was especially bad. It's the libsecp256k1 library in Bitcoin Core.

Really. Really. Really bad. How did this epically bad piece of code never get fixed from BITCOIN CORE???

The python was Peter Wuille's BIP 340 reference implementation. Only 14 months since nobody did anything about it but at least not 13 years.

Always good for me to see how it is on the other side of the fence. I wouldn't change to another language even if you paid me $500k/pa. I already have enough grey hair. Dealing with the outdated, unwise, "expressive" syntax of other languages would just age me at an abnormal rate.

Golang only. For life.

๐Ÿ˜‚