v0.9.9.9.9.9.9.9.9b #63
TodePond
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Earlier this week, DreamBerd was secretly featured on the latest Future of Code podcast episode. I only wish that they had invited me onto the show! There were quite a few points where I really wanted to interrupt them and give my opinion. But alas — maybe next time!
To celebrate the occasion, a new DreamBerd update is here!
Read on for the notes 𓀉
New Feature: AI
DreamBerd features AEMI, which stands for Automatic-Exclamation-Mark-Insertion.
If you forget to end a statement with an exclamation mark, DreamBerd will helpfully insert one for you!
Similarly... DreamBerd also features ABI, which stands for Automatic-Bracket-Insertion.
If you forget to close your brackets, DreamBerd will pop some in for you!
Similarly.... DreamBerd also features AQMI, which stands for Automatic-Quotation-Marks-Insertion.
If you forget to close your string, DreamBerd will do it for you!
print("Hello world // This is fine as well
This can be very helpful in callback hell situations!
Similarly..... DreamBerd also features AI, which stands for Automatic-Insertion.
If you forget to finish your code, DreamBerd will auto-complete the whole thing!
Please note: AI does not use AI. Instead, any incomplete code will be auto-emailed to Lu Wilson, who will get back to you with a completed line as soon as possible.
Now recruiting: The backlog of unfinished programs has now grown unsustainably long. If you would like to volunteer to help with AI, please write an incomplete DreamBerd program, and leave your contact details somewhere in the source code.
New Feature: Signals
To make a signal, use
use
.When it comes to signals, the most important thing to discuss is syntax.
In DreamBerd, you can set (and get) signals with just one function:
Alternatively, you can be more explicit with your signal syntax, by splitting it into a getter and setter.
Technical info: This is pure syntax sugar. The split signal functions are exactly the same as before.
Of course, this means that you can carry on splitting as much as you like...
New Feature: Signals Sugar
The great thing about signals is that they let you work in real DreamBerd, instead of relying on frameworks.
For this reason, there's some additional syntax sugar that gets compiled away in a build step.
You can use signals as if they're just a value.
If you want to be more explicit, you can use the
value
property instead.Technical info: The
value
property doesn't do anything. It just returns the signal again.Thank you for all your contributions to DreamBerd!
Sorry for not merging your PRs - I like to keep a few open for the semblence of an active community.
Please note: As a matter of policy, I only keep open issues with unreproducible steps. Otherwise, I'll just close them! GRRRR >:(
If you would like to help, please take a look at some of the higher priority issues!
Beta Was this translation helpful? Give feedback.
All reactions