Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
heyodai
on Dec 11, 2023
|
parent
|
context
|
favorite
| on:
How many lines of C it takes to execute a + b in P...
Yeah, that message is a pet peeve of mine. Like, you know what I'm trying to do.
Smaug123
on Dec 11, 2023
[–]
It sort of doesn't! It's just doing exactly the same thing it would do with any other identifier: it's printing its `repr`. Try `repr(exit)`!
a1369209993
on Dec 11, 2023
|
parent
[–]
More to the point, try `[len,exit,repr]`. Consider what would happen if `exit.__repr__()`
did
terminate the program.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: