r/ProgrammerHumor • • 1h ago

Meme blueScriptForBonk

152 Upvotes

24 comments sorted by

21

u/RomanProkopov100 1h 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?

21

u/Lanse012 1h 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

13

u/WolleTD 55m ago

Having generic float probabilities for perchance statements is a desired feature!

I require 42% chance in certain projects!

4

u/Lanse012 48m ago

oh good idea ill add that

1

u/Mordret10 16m ago

Please only add the 42%. We don't need any more options and it would make it more clunky

8

u/NoAdsDude 1h ago

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

probably

16

u/lucianw 1h 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.

8

u/Lanse012 42m ago

Your on the C# design team? Thats sick!

Also, for BlueScript async stuff, thread is a primitive type so you can do thread variableName1;

Then do run(variableName1){ foo() } to run on another thread

You can also use threadpool variablePool = [variableName1, variablename2, variablename3];

And run(variablePool){ foo() } will queue that task, and have the first empty thread run it, where the Thread name is just the thread variable's name (W.I.P)

9

u/readf0x 1h ago

No, dreamberd Gulf of mexico is better

https://github.com/TodePond/GulfOfMexico

3

u/Lanse012 1h ago

It was inspired by that language lol

3

u/ZakTH 59m ago

Wait a minute, this is just Dreambird! I remember reading through this in 2024! Did they just rename it to GulfOfMexico when trump did his stupid gulf of America thing?

Edit: I'm apparently incapable of reading strikethrough text

1

u/MallAgreeable5538 15m ago

Wtf is all of that. The only thing i could see as useful is the when keyword

5

u/AbdullahMRiad 1h ago

I want to write int64 as innnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnt

5

u/Lanse012 37m ago

Whenever I see an idea like this that I like, I want to add it, and whenever I see an idea I don't like, I say "I dont make the rules" lol

Maybe the amount of n's determines how many bytes the int uses? so innt is 2 bytes, innnt is 3 bytes, etc?

Wait this sounds like COBOL's picture keyword

1

u/AbdullahMRiad 31m ago

maybe also add strinnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnng for a 64 bit string (8 chars)

2

u/Lanse012 18m ago

maybe also returnnnnnnnnnnnnnnnnn for how many levels up the call stack trace it should go lol

2

u/Lanse012 32m ago

This language is being added to Bonk Universe as a safe language that cant hack your computer, while also having most capabilities of python and java, and being less Verbose verbose = new Verbose(); than java

If anyone is interested, I also made a video about it, and the obvious simple next step is to build an entire operating system (BluestoneOS) for BlueScript to run in lol

40

u/Dumb_Siniy 1h ago

It's perfect

38

u/hdgamer1404Jonas 1h ago

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

33

u/HeyThereSport 1h ago

You can't just say perchance

6

u/RomanProkopov100 1h ago

Perchance I could

3

u/DarkWingedDaemon 55m ago

What a load of BS!