Hacker News new | ask | show | jobs
by pcraig3 502 days ago
Sorry to hear you are out.

I've found "T/F" vals are not always portable between languages ("True" in Python vs "true" in JS) whereas integer comparisons are always interpreted correctly.

1 comments

> I've found "T/F" vals are not always portable between languages ("True" in Python vs "true" in JS)

What? Booleans are booleans, they are converted to/from the language's boolean type when you encode/decode to JSON.