5 ms·
Reminds me of `break rust;` causing the Rust compiler to emit an internal compiler error. I wonder which other languages have similar easter eggs.
by SkiFire13 2y ago
Reminds me of `break rust;` causing the Rust compiler to emit an internal compiler error. I wonder which other languages have similar easter eggs.
- bch 2y agoTcl really became “Enterprise-ready”[0] at this time. [0] https://stackoverflow.com/a/1026619 https://stackoverflow.com/a/1026619
- shakna 2y ago> 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
- hsfzxjy 2y ago> `break rust;` causing the Rust compiler to emit an internal compiler error Is this real?
- xcdzvyn 2y agohttps://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=043df02ff7f1a6486f6a2b150ec01f49 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-320764675 https://github.com/rust-lang/rust/issues/43162#issuecomment-...
- SkiFire13 2y agoYes https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=08b203d2d011a7638a6ed0958e259604 https://play.rust-lang.org/?version=stable&mode=debug&editio...
- pjmlp 2y ago> 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.
- TheMatten 2y agoThis one in Haskell is coincidental, but used as a joke: ``` import Data.Function main = do let it = fix error print it ```
- notpushkin 2y agoOn HN, you can add code blocks by indenting with 2 spaces: import Data.Function main = do let it = fix error print it
- sans_souse 2y agoIf NLP counts, try xyzzy in gemini.google.com