Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @maxheiber
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @maxheiber
-
Alternatives to
#typescript `enum`:https://medium.com/@maxheiber/alternatives-to-typescript-enums-50e4c16600b1 …Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Max Heiber proslijedio/la je Tweet
Immutable data structures may be coming to JS. If you enjoy playing with bleeding edge features, please try out the TC39 Stage 1 proposal "Records & Tuples" in this browser playground created by
@rickbutton. https://rickbutton.github.io/record-tuple-playground/#eyJjb250ZW50IjoiaW1wb3J0IHsgUmVjb3JkLCBUdXBsZSB9IGZyb20gXCJyZWNvcmQtYW5kLXR1cGxlLXBvbHlmaWxsXCI7XG5jb25zdCBsb2cgPSBjb25zb2xlLmxvZztcblxuY29uc3QgcmVjb3JkID0gI3sgcHJvcDogMSB9O1xuY29uc3QgdHVwbGUgPSAjWzEsIDIsIDNdO1xuXG5sb2coXCJpc1JlY29yZFwiLCBSZWNvcmQuaXNSZWNvcmQocmVjb3JkKSk7XG5sb2coXCJpc1JlY29yZFwiLCBSZWNvcmQuaXNSZWNvcmQoeyBwcm9wOiAxIH0pKTtcblxuLy8gU2ltcGxlIEVxdWFsaXR5XG5sb2coXCJzaW1wbGVcIixcbiAgICAjeyBhOiAxIH0gPT09ICN7IGE6MSB9LFxuICAgICNbMV0gPT09ICNbMV0pO1xuXG4vLyBOZXN0ZWQgRXF1YWxpdHlcbmxvZyhcIm5lc3RlZFwiLCAjeyBhOiAjeyBiOiAxMjMgfX0gPT09ICN7IGE6ICN7IGI6IDEyMyB9fSk7XG5cbi8vIE9yZGVyIEluZGVwZW5kZW50XG5sb2coXCIhb3JkZXJcIiwgI3sgYTogMSwgYjogMiB9ID09PSAjeyBiOiAyLCBhOiAxfSk7XG5cbi8vIC0wLCArMFxubG9nKFwiLTAgPT09ICswXCIsIC0wID09PSArMCk7XG5sb2coXCIjWy0wXSA9PT0gI1srMF1cIiwgI1stMF0gPT09ICNbKzBdKTtcblxuLy8gTmFOXG5sb2coXCJOYU4gPT09IE5hTlwiLCBOYU4gPT09IE5hTik7XG5sb2coXCIjW05hTl0gPT09ICNbTmFOXVwiLCAjW05hTl0gPT09ICNbTmFOXSk7XG4iLCJzeW50YXgiOiJoYXNoIiwiZXF1YWxpdHlUcmFuc2Zvcm0iOiJzdHJpY3QifQ== … Original Proposal:https://github.com/tc39/proposal-record-tuple …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
There's an exploration of the meaning of "homomorphic mapped types" in
#typescript in the comments here:https://stackoverflow.com/questions/59790508/what-does-homomorphic-mapped-type-mean …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Why is "dead code elimination based on ES module graphs" called "tree shaking"? Wouldn't "graph shaking" or "dead code elimination" be more accurate?
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Let's help make TS editor experience even better by sharing some logs! Just be careful not to leak IP.https://twitter.com/drosenwasser/status/1215066136686907392 …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Nice algebraic properties and Typescript type checker perf might be in conflict here:https://davidgomes.com/pick-omit-over-union-types-in-typescript/ …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Now with no side-effects. High idempotency, 100% pure. Not available in the U.S. (statesless)pic.twitter.com/MNcdKm3U1Y
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
How did early NES programmers write high-quality, nearly bug-free software in what moderners would call "spaghetti code," without TDD, PR review culture, FL, OOP encapsulation, formal methods, GC, etc.? What do they know that we have forgotten? https://gist.githubusercontent.com/1wErt3r/4048722/raw/7e8e9777a53a2f94fd968e79c891445a97a8ddde/SMBDIS.ASM …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I'm so excited to use private fields! Thanks
@typescript team for the mentoring, guidance, and thoughtful PR review and shout out to@joeywatts96 . Looking forward to our collaboration in 2020https://twitter.com/robpalmer2/status/1210683053678505984 …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Was there ever a tc39 proposal for effect handlers in Js like in Eff?
@sebmarkbage , did you write one? I only found https://esdiscuss.org/topic/one-shot-delimited-continuations-with-effect-handlers …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Max Heiber proslijedio/la je Tweet
I wrote a Q+A about what index signatures in TypeScript mean. They're a bit of a jumbled concept and you can get confused trying to derive a consistent principle behind their various behaviors (because there isn't one).https://stackoverflow.com/q/58458308/1704166 …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Max Heiber proslijedio/la je Tweet
This is the history of
@DefinitelyTyped: https://blog.johnnyreilly.com/2019/10/definitely-typed-movie.html … Thanks to@SeaRyanC &@drosenwasser of the@typescript team,@blakeembrey inventor of typings,@vvakame,@_stevefenton,@basarat, and of course@borisyankov for telling me their parts of the story
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
What are some examples of type-level TS libraries? I'm thinking about things like fp-ts and utility-types.https://stackoverflow.com/questions/58338490/what-are-some-type-level-typescript-libraries …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Still looking for help with this
@typescript#TypeScript question. Type-level dot syntax is so convenient, but is only available with the "bad parts" of TS (features that are neither JS nor related to types)!https://stackoverflow.com/questions/58227613/how-can-i-provide-ergonomic-typings-for-a-module-that-default-exports-an-object …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I am so confused about the least awful way to provide a .d.ts for `module.exports = { SomeClass }`https://stackoverflow.com/questions/58227613/how-can-i-provide-ergonomic-typings-for-a-commonjs-module-that-exports-an-object …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Max Heiber proslijedio/la je Tweet
Is there a 'let'-equivalent construct in Excel / Google Sheets? e.g. something that would behave like =LET(x = A1 + A2 + A3, x * (x - 1) * x)
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Shout out to Mukesh Prasad at Bloomberg for landing this PR in
#TypeScript and thanks@drosenwasser for reviewing!https://github.com/microsoft/TypeScript/pull/33706 …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
JS devs today: "This code is better, it's more functional." Same devs in two years: "This code is better, it's more categorical." https://www.categoricaldata.net/
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Max Heiber proslijedio/la je Tweet
This is the
@typescript table. It is surprisingly dynamic
@maxheiber and@joeywatts96 are spreading the knowledge@drosenwasser@SeaRyanC@sanders_n@rbuckton have kindly shared over the last year.pic.twitter.com/YNmRRTMvKX
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Max Heiber proslijedio/la je Tweet
Thanks to TypeScript's unstoppable
@orta, you can try out Stage-3 Private Fields in the TypeScript Playground today!
https://www.typescriptlang.org/play/?ts=3.7.0-pr-30829-57#code/MYGwhgzhAEDiBOBTRAXR9oG8CwAoaB0AxAHZgC2iAXNBCvAJYkDmA3HodMAPYl3wBXYCm7wAFGUo1+TZgEosHToRQALBhAB0pComgBeaJMTt8hAL5KCzJKjEKcZ5V14RuIRJpDdmYgAaqiCDe0AAkmGoa2sbmfnKmnJa4SXg8fCjQNshoGIYkiADucLY5YgBEBaIgACZl8amu7p7evlmo6PHOXZwA9D3QLTAA5AjZ6FjmQw18TV4+YgDyAEYAVojCmgDWiACeEGJtOXKdhH0DPsMA2gC6U7iH6JqH9qzdb8png9BDgcHc0JV4DUhkA …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.