It’s pretty neat in #Rust that type usage in multiple locations can be inferred from the return type of a function. So while you could explicitly set the types, you don't have to.
#NowPlaying Why didn’t anybody tell me there’s a place called #Diggerland in England? https://www.youtube.com/watch?v=odBmYseF…
🔊 Auf radioeins läuft...
Sampha:
🎵 Only
#NowPlaying #Sampha
https://open.spotify.com/track/3XiIO5kw2UxoY6Aph8Tcd5
https://djrawel.bandcamp.com/track/sampha-only-dj-rawel-edit
🔊 #NowPlaying on #BBC6Music's #FocusBeats
Dizraeli:
🎵 Holy Holy (Instrumental)
#Dizraeli
https://open.spotify.com/track/3ECMSXyOpXcKfvKBQdxyOh
https://dizraeli.bandcamp.com/track/holy-holy
JSDB 5.0.0 published 🎉
• Custom classes must have a `constructor` that accepts a parameter object as its only argument. Constructors are run during deserialisation.
• Custom classes can now safely extend other classes (e.g., `EventEmitter`).
• Properties that begin with an underscore (`_`) are treated as private and ignored.
• Objects with null prototypes are supported. i.e., objects created with `Object.create(null, …)`.
Full details:
The moment when I realize that Terry Pratchett worked in a reference to Sergio Leones’ “For A Few Dollars More” while writing “Men At Arms”
F’ing Discworld
😂
Been re-reading The Colour of Magic by Terry Pratchett and it's such a good book, and so well written! I feel like I'm watching it as I read, the mark of a truly great author.
I'd love to see a film/show of it! Who would you pick as Rincewind? My mind went to a young Eric Idle, but maybe David Tennant would be a good substitute.
#discworld
Tenia curiosidad por saber que parte de la agenda2030 no quieren los agricultores que se manifestaban contra ella en España (no todos los que se manifestaban creo) https://es.wikipedia.org/wiki/Objetivos_de_Desarrollo_Sostenible ¿no quieren "1. Fin de la…
Realised last night that JavaScript Database (JSDB) doesn’t run the constructor on persisted custom objects (https://codeberg.org/small-tech/jsdb#custom-data-types) when deserialising them because I didn’t know that you apparently have to define your constructor manual…