PostsBlogReposAbout
Samuel25 Mar 2024
spiritually javascript
x = 300
y = 200
x is y
False

x = 200
y = 200
x is y
True 10 11 77
Samuel25 Mar 2024
python is actually so real for this one. respect.
2 17
Toni Alatalo 🇫🇮💚25 Mar 2024
Python caches small numbers so has a similar bug, last I checked. Maybe only up till 78 or whatever.
3 5
Samuel
@samuel.fm
yeah this is why, I think
2 2
25 March 2024 at 5:31 amView on Bluesky
Toni Alatalo 🇫🇮💚25 Mar 2024
ah silly me I thought that was a JS interpreter and didn't understand that you said .. too early morning :p but yes that's it.
2