Congrats to all the champions who worked super hard on this for so long! It's been fun working on temporal_rs for the last couple years :)
Temporal: The 9-year journey to fix time in JavaScript
11–20 of 284 posts
Re: Temporal: The 9-year journey to fix time in JavaScript
#12Given that the article refers to the "radical proposal" to bring these features to JavaScript came in 2018, surely Java's own solutions had some influence?
Re: Temporal: The 9-year journey to fix time in JavaScript
#13[flagged]
Re: Temporal: The 9-year journey to fix time in JavaScript
#14[flagged]
Immutability is underrated in general. It's a sore point every time I have to handle non-clojure code.
Re: Temporal: The 9-year journey to fix time in JavaScript
#15Earlier quoted context omitted.
Immutability is underrated in general. It's a sore point every time I have to handle non-clojure code.
Given the ubiquity of react, I think immutability is generally rated pretty appropriately. If anything, I think mutability is under-rated. I mean, it wouldn't be applicable to the domain of Temporal, but sometimes a mutable hash map is a simpler/more performant solution than any of the immutable alternatives.
React only checks references but since the objects aren't immutable they could have changed even without the reference changing.
Immutability also has a performance price which is not always great.
Re: Temporal: The 9-year journey to fix time in JavaScript
#16Would have been interesting to connect back to Java's own journey to improve its time APIs, with Joda-Time leading into JSR 310, released with Java 8 in 2014. Immutable representations, instants, proper timezone support etc. Given that the article refers to the "radical proposal" to bring these features to JavaScript came in 2018, surely Java's own solutions had some influence?
Re: Temporal: The 9-year journey to fix time in JavaScript
#17Safari confirmed as IE Spiritual successor in 2020+.
Re: Temporal: The 9-year journey to fix time in JavaScript
#18[flagged]
I know this gets into a complex land of computer science that I don’t understand well, but I wish I could define in TypeScript “any object passed into this function is now typed _never_. You’ve destroyed it and can’t use it after this.” Because I sometimes want to mutate something in a function and return it for convenience and performance reasons, but I want you to have to reason about the returned type and never again touch the original type, even if they are the same object.
Re: Temporal: The 9-year journey to fix time in JavaScript
#19> Safari (Partial Support in Technology Preview) Safari confirmed as IE Spiritual successor in 2020+.