Post A85fQjEk52hWe0uSWG by bignose@social.chinwag.org
(DIR) More posts by bignose@social.chinwag.org
(DIR) Post #A84bEMdFhj5k5UGLnE by natecull@mastodon.social
2021-06-08T10:33:46Z
0 likes, 0 repeats
Hi, here is my new improved version of C, called "C ?".You have to provide two languages of your own design, "D : E", which the C ? compiler will choose one of, at compile time, depending on whether it thinks C Is or Isn't.
(DIR) Post #A84bEN71v0uXZqC8Cu by mansr@society.oftrolls.com
2021-06-08T10:35:35Z
0 likes, 0 repeats
@natecull Surely you mean "C?:" pronounced C-if-else.
(DIR) Post #A84bWsIihOmzWFUAAi by mansr@society.oftrolls.com
2021-06-08T10:38:55Z
0 likes, 0 repeats
@natecull Which reminds me, I want a programming language with a do/or-else construct. Threats always work.
(DIR) Post #A84c72NAjIVXBIoNNY by penguin42@mastodon.org.uk
2021-06-08T10:45:25Z
0 likes, 0 repeats
@mansr @natecull Like perl's || die("Aaargggghhh\n");
(DIR) Post #A85fQjEk52hWe0uSWG by bignose@social.chinwag.org
2021-06-08T22:57:20Z
0 likes, 0 repeats
@mansr I use the split-view feature in Emacs to make the rest of the program watch while I edit the offending line. Make it clear what the consequences are for test failure.