Content pfp
Content
@
0 reply
0 recast
0 reaction

Cassie Heart pfp
Cassie Heart
@cassie
I've invented cryptographic protocols and advanced distributed systems, but I swear to god Javascript is the hardest damn thing in the world to make work correctly sometimes.
22 replies
10 recasts
275 reactions

Dean Pierce ðŸ‘Ļ‍ðŸ’ŧ🌎🌍 pfp
Dean Pierce ðŸ‘Ļ‍ðŸ’ŧ🌎🌍
@deanpierce.eth
When I first set up cashaddr.org, I was hitting some really weird bug, so I asked my younger brother about it (who actually has a scary deep understanding of es6). He looked at my code for like two seconds before informing me that when doing bitwise math on longs in JS, only the lower 32 bits are well defined. ðŸĪŠ
1 reply
0 recast
1 reaction

Dean Pierce ðŸ‘Ļ‍ðŸ’ŧ🌎🌍 pfp
Dean Pierce ðŸ‘Ļ‍ðŸ’ŧ🌎🌍
@deanpierce.eth
I just wrapped it all in some big number thing and everything was fine. JavaScript is dumb. So many similar stories as well. I'm also especially mad at the differences between == and === as well as the weird ass differences between var and let.
0 reply
0 recast
1 reaction