r/ProgrammerHumor • • 37m ago

Meme blueScriptForBonk

58 Upvotes

11 comments sorted by

7

u/RomanProkopov100 21m ago

If unlikely is a constant which is both boolean (used in a perchance statement) and float (defined as a fraction), does the perchance statement choose the branch randomly according to the passed boolean-fraction?

4

u/Lanse012 15m ago

oh no that definition was more to show its a 5% chance, its just a boolean not a float

probably is only 95% chance

maybe is only 50% chance

3

u/NoAdsDude 15m ago

does the perchance statement choose the branch randomly according to the passed boolean-fraction

probably

2

u/readf0x 21m ago

No, dreamberd Gulf of mexico is better

https://github.com/TodePond/GulfOfMexico

1

u/Lanse012 16m ago

It was inspired by that language lol

13

u/Dumb_Siniy 30m ago

It's perfect

10

u/hdgamer1404Jonas 33m ago

"what in the name of fuck" - a programmer (at some point)

7

u/HeyThereSport 18m ago

You can't just say perchance

4

u/RomanProkopov100 18m ago

Perchance I could

•

u/lucianw 2m ago

In the C# language design team we were brainstorming what keyword/syntax to use for the new async feature. The candidates were

- prefix operator "await foo()"... sounded ridiculous, like Jane Austen. I prithee kind sir, await here.

- postfix operator "foo() anon"... logically a postfix operator would be better but this also sounded ridiculous, like Shakespeare

We picked "await", but it really was every bit as ridiculous as BlueScript.