by btown · 2y ago · 0 comments
>>> from __future__ import braces
File "<stdin>", line 1
SyntaxError: not a chance
For those interested in how this (hilarious) error text came to be, it's been hardcoded in cpython since 2001!https://github.com/python/cpython/commit/ad3d3f2f3f19833f59f...
The author, Jeremy Hylton, is now a Principal Engineer at Google working on AI search quality. It's quite remarkable that in 24 years, a single person's career has gone from a tongue-in-cheek memorialization of certain syntax being forbidden, to working on ubiquitous query systems that don't require dedicated syntax at all!
Is this real?
Lovely, and the word game is just great.
> error: internal compiler error: It looks like you're trying to break rust; would you like some ICE?
> --> src/main.rs:2:5
> |
> 2 | break rust;
> | ^^^^^^^^^^
> |
> = note: the compiler expectedly panicked. this is a feature.
> = note: we would appreciate a joke overview: https://github.com/rust-lang/rust/issues/43162#issuecomment-...
``` import Data.Function
main = do let it = fix error print it ```
import Data.Function
main = do
let it = fix error
print itIt's a misconception that the informal playful hobby hacking things are their separate world from real professional development.
https://marc.info/?l=python-dev&m=130991276326041&w=2
In 2024 suddenly everyone is grown up and corporate and has never done anything wrong.
Trying to be considerate of others, even when they are different from ourselves, is indeed kind and good and does come with maturity. You needn't be corporate or have never done wrong to be considerate.