Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Reminds me of `break rust;` causing the Rust compiler to emit an internal compiler error. I wonder which other languages have similar easter eggs.


Tcl really became “Enterprise-ready”[0] at this time.

[0] https://stackoverflow.com/a/1026619


> The Stardate time format had nothing to do with Sun. I added it to Tcl while working at Scriptics, as an easter egg for the then-upcoming Tcl2K Conference. One of the conference events was a competition to implement a standard-to-stardate conversion utility, using an arcane formula. Only one guy entered the event. He spent a couple hours agonizing over the implementation (as he was looking for a job at Scriptics, he was eager to impress) only to have the easter egg revealed afterwards. Of course he won the competition anyway. And he got the job, too. – Eric Melski


> `break rust;` causing the Rust compiler to emit an internal compiler error

Is this real?



> error: internal compiler error: It looks like you're trying to break rust; would you like some ICE?

Lovely, and the word game is just great.


https://play.rust-lang.org/?version=stable&mode=debug&editio...

> 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-...


This one in Haskell is coincidental, but used as a joke:

``` import Data.Function

main = do let it = fix error print it ```


On HN, you can add code blocks by indenting with 2 spaces:

  import Data.Function

  main = do
    let it = fix error
    print it


If NLP counts, try xyzzy in gemini.google.com




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: