Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @danieldietrich
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @danieldietrich
-
Prikvačeni tweet
As a computer scientist, I believe in numbers, but I also believe that the whole is greater than the sum of its parts.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I laugh more than I should
https://twitter.com/CodeDoesMeme/status/1224055007579983872 …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Whoops! I got hit by operator precedence in #JavaScript. foo + (bar === baz) ? "qux" : "quux" isn't the same as foo + (bar === baz ? "qux" : "quux")Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
#JavaScript console.log and string template literals render arrays differently. // Array: 1, 2 console.log(`Array: ${[1, 2]}`) // Array: [1, 2] console.log('Array:', [1, 2])pic.twitter.com/CuyXNPpZu7
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Salad, ingredients: 




(the non-psychedelic mushrooms;)pic.twitter.com/OWWrzrQ6Gk
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I prefer the for-loop in this case. It is pretty straight forward.pic.twitter.com/9SFH3qjhSE
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Daniel Dietrich proslijedio/la je Tweet
The core of react-router v6 is 357 lines of code, excluding comments and __DEV__ blocks (which are mostly propTypes). Should be able to read it in an afternoon, if you're curious
https://github.com/ReactTraining/react-router/blob/dev/packages/react-router/modules/index.js …Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Daniel Dietrich proslijedio/la je Tweet
Notably, the ISO date is the only one where you don’t have to document if day or month comes first. That’s why I like it: It works well across all countries. And it’s also automatically sorted properly.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Pro-tip: Here is how I search my release tweets using the Twitter web UI 1.
Go to search bar...
2. Search: "
from:danieldietrich"Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
My steps: * get latest dependency versions * add search keywords * adapt build target * create git repository * create GitHub repository * enable travis-ci * enable dependabot * enable GitHub sponsors * write TypeScript module * write unit tests * write documentation * release
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Just released object-builder for #TypeScript on NPM (0 dependencies, 217 bytes minzipped). I wrote a 'dev' CLI to accelerate#TypeScript project setup. Here is how long it took me to create a proper project (documentation was the biggest part):https://twitter.com/danieldietrich/status/1223923276025679873 …Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
[12:31] Done!
Please find the artifacts here:
* GitHub source: https://github.com/danieldietrich/object-builder …
* NPM package:https://www.npmjs.com/package/@danieldietrich/object-builder …Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
[11:57] On your marks ... get set, GO!
I decided to release the object-builder I yesterday talked about.
Let's measure how long it takes to
1. Create a TypeScript project from an example Gist
2. Clean it up
3. Add tests
4. Add documentation
5. Release the library to NPMPrikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hi there
I recognized that I got several new followers over the last days, thank you!
There is a lot more content upcoming. What do you like to hear?Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Daniel Dietrich proslijedio/la je TweetHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Builders are used in the presence of default values or if objects are created in multiple steps. Otherwise you would create them directly using the object literal {}.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Of course concrete builders wouldn't be written n-times. Prepare them with specific default values!pic.twitter.com/OR4DZEZuzC
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Never write an object builder again! Use a generic one. https://gist.github.com/danieldietrich/dd352b89b00f4a8e77be01ab1ae22385 …
The new #TypeScript example * builds deep objects * defines default attributes * sets multiple attributes at once * sets attributes in arbitrary order * sets only some optional attributespic.twitter.com/jnyGD9GBjL
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Interesting: in older browsers, before JavaScript 1.8.5, `undefined` was a global variable that could be changed. Therefore we see `void 0`, which yields `undefined` in a safe way. Nowadays, we can safely use `undefined`.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Daniel Dietrich proslijedio/la je Tweet
Aluminium fuel cells (AFCs) that offer five times the range than an average lithium ion battery can offer. This could be a game changer if OEMs can evaluate & adopt this new technology. https://www.thebetterindia.com/212501/bengaluru-startup-log9-electric-vehicle-battery-charging-aluminum-fuel-cell-india-nor41/ …
#EV#AFC#LithiumHvala. 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.
