Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
frollogaston
35 days ago
|
parent
|
context
|
favorite
| on:
Python's pre-declared constants are kinda weird
A lot of them are also about nulls and == vs ===, which are weird, but they're weird in many langs. Like Python has the whole == vs `is`. You just learn the convention and use it. Same with typecasts.
zahlman
34 days ago
[–]
Distinguishing object equality from object identity is not even remotely comparable to having implicit, unintuitive casts everywhere.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: