Having trouble determining whether two numbers a and b are of opposite sign, e.g. 3, -2 or -5, 1.5?
Just stop your crying...
Math.sign(a * b) == -1
...it's the sign of the times
@FakeUnicode@MaximeEuziere Aw man, I was hoping we could use multi-codepoint RGI sequences for more compression in tweetable code, but it turns out there's only 774 of them... It's too bad we can't use skin tones with families, since that alone would increase that number to 26670!
@XssPayloads@MaximeEuziere@justecorruptio We hope to work together to make a fully functional version as well, that clears when pressing a digit after =, allows inputs like 2*2*2*2= and 5*3===, and also only allows one decimal point per number 😉
Some very useful tips from the master of JS golfing on https://t.co/gYC35Ji2dt, ranging from simple to highly advanced. Definitely worth a read if you're into code golf!
Was hoping to participate in #LD42, since I haven't really done a Ludum Dare event in 3 years, but I forgot to make room in my schedule and now I'm booked for this weekend... Hopefully December will work out better! #LDJAM
Hey! Slack now allows to create invite links that never expire!
Everyone interested by JS code golfing can join https://t.co/zzNoinR00N with this invite:
https://t.co/0krAii0V3o
🙋♂️
🔥 BigInt brings arbitrary-precision integers to JavaScript!
With native BigInt support, you can finally forget about inaccurate integer arithmetic and Number.MAX_SAFE_INTEGER overflow. @mathias explains: https://t.co/BBQegaS8lu