I can't stress enough the importance of having value types in a programming language.
It is one of Go's best feature that structs have value semantics.
All other GCed languages have Java-like reference only semantics for objects. Huge mistake.
@ijrussell@raimeyuu I think there is a misunderstanding in this discussion. The question is about how to enforce data invariants. Basically the same goal as OO encapsualtion, regardless of (im)mutability. Example invariant: a data type for a person including age; age must be at least 0.
@tannerlinsley if you want to know how simple it was to integrate #tanstack with a v. different programming model this #L26" target="_blank" rel="nofollow noopener">github.com/dsshep/Feliz.T… is more or less all that's needed to maintain state. To fit into the #elm model, flexrender is implemented here #L128" target="_blank" rel="nofollow noopener">github.com/dsshep/Feliz.T…
@FraserNelson@doug_prime@TAH_Sci@juji_gatami We generally model what we are asked to model. There is a dialogue in which policy teams discuss with the modellers what they need to inform their policy
@McCrews Late entry but you can do simple stuff with Elmish/ AvaloniaFuncUI. Here's an example of rendering TSP (there's a screenshot in the root of the repo): github.com/DurdSoft/F-TSP…
@jimseven You should have a look at moka pots for dark roasts. There’s something about them being able to pull flavour out that they just can’t for lighter roasts. 🤔
Most of the videos I make end up focusing on lighter roasts of coffee, which I might enjoy but I know lots of people don’t. So today’s video is about getting the best out of darker roasts: youtube.com/watch?v=lrRdRx…
Masks. "No!". Social-distancing "No!". Test and Trace. "No!". Vaccine passports."Hell no!!!". Everything that's proposed that might ease us back towards normality just a little bit faster the Lockdown Deniers oppose.