Re:Dark’s new backend will be in F#
by mattmanser on Tuesday November 03, 2020 @12:18PM
(#24981632)
Did you figure out what the greyed out "v1", "v4", etc. after certain calls was for? I clicked through a few pages but couldn't figure it out.
Internal versioning as they release new methods on their own libraries? So it doesn't break old ones?
That's right, we version all stdlib functions. I talk about it a bit here: https://blog.darklang.com/how-dark-deploys-code-in-50ms/
When we add a new version of a function, all the calls to the old function are unchanged. The autocomplete shows new users the new version (and not the old version), while people who are calling the old version get shown both.
Re:Dark’s new backend will be in F#
by steve_adams_86 on Tuesday November 03, 2020 @12:42PM
(#24981910)
Is this what you refer to as feature flags in the FAQ?
> Q: Deployless seems dangerous! Won't I constantly break my application?
> A: ... snip ... With Dark's feature flags, you have precise control over how and when a specific feature or set of features becomes live, and for which part of your user base.
No, feature flags are used to wrap an expression and conditionally choose another expression. Its a fancy if expression. In Dark you add one by selecting `add-feature-flag` from the command palette.
Re:Dark’s new backend will be in F#
by inopinatus on Tuesday November 03, 2020 @05:01PM
(#24984517)
The Segway of programming languages.
Dark is basically a language that's designed to be serverless out of the box. They've baked their own engine into the language as well as dependencies for various cloud providers, databases (postgres was highlighted a lot), etc so that you can build serverless applications quickly while having no knowledge of operating systems, infrastructure, or really even computer science.
It reminds me of a number of the languages out there that are low-code or no-code. A regular programmer probably wouldn't even recognize some of the syntax and symbolization this language uses.
Here's some examples: https://blog.darklang.com/spin-up-a-slack-app-in-seconds-wit... Most of us have probably built a Slack app by now (or bot) so this is a good example to compare with IMO.
Dark has a mission of appealing to 1B people and they say the first step is to appeal to developers.