Top Tweets for #exploringes6
This one is interesting, and I've already mentioned it in the context of the #ExploringES6 book. New #JavaScript modules support cyclical dependencies and thus allow violating this principle. This example is a good illustration of the uncertainty of programming knowledge.
Yesterday I finished #ExploringES6. That was a long journey, I've started a book in April. The book explores #JavaScript deeply, describes a lot of inevident nuances. Guess, @rauschma started writing it in the 1870s, the result is tremendous.
#ES6
Due to the way floating numbers are represented in a computer, you should not compare them using equality check in #JavaScript. For these purposes use Number.EPSILON from #ES2015: 0.3 - (0.1 + 0.2) < Number.EPSILON.
#ExploringES6 #ES6
Reading about combination of property descriptors and proxies in #JavaScript is π§π€π€π§π€π§π€π§ππ§π§π§
#ExploringES6 #ES2015 #ES6
If you ever wondered which use cases do proxies in #JavaScript have, here is a good example:
Proxies are ideally suited for implementing revocable references because they can intercept and forward operations.
#ES2015 #ExploringES6
Using proxies, you can allow negative indices for the arrays in #JavaScript. E.g., arr[-1] will return last value. Here is the link to learn more: https://t.co/EunHWOocyQ.
#ES2015 #ExploringES6
Even more, revocable proxies exist in #JavaScript. That means that you want to cancel any further interception.
const {proxy, revoke} = Proxy.revocable(target, handler);
#ES2015 #ExploringES6
Guess I've forgotten to describe what proxies in #JavaScript are. They are objects that let you intercept and customize operations on other objects. E.g., getting and setting value, checking the inclusion of a property by an object.
#ES2015 #ExploringES6
Explanation of the difference between programming and metaprogramming.
#ES2015 #JavaScript #ExploringES6

I begin reading the chapter about proxies in the #ExploringES6 book. I gained some experience with them debugging some of the most neglected cases of code complexity I had to work with. Going to find out if they can be used somewhere except those cases.
#ES2015 #JavaScript
Now reading about tail call optimization in #JavaScript. At the beginning of the chapter, there is a warning that this optimization may never be supported. The book was written in 2015 and situation seem not to have changed a lot: https://t.co/ex9lIhaa5E.π€
#ES2015 #ExploringES6
Just have started reading the chapter about Unicode in #JavaScript (https://t.co/cOROWWGsXc) and remembered this excellent explanation.
https://t.co/EHFUWlp7VV
#ES2015 #ExploringES6
@turbobureaucrat Long explanation: https://t.co/Oyiji81F0K
tl;dr: JavaScript adopted Unicode too early, before it expanded past 16 bits. So high plane characters (where most emoji live) take two UTF-16 units per codepoint.
π© 1f4a9 PILE OF POO
'π©'.length = 2
Array.from('π©').length = 1
but...
This scheme describing promises in #JavaScript might not be evident at first, but when the understanding is settled it is useful to overview. Here is the chapter containing it: https://t.co/Qxa0OchX2z.
#ES2015 #ExploringES6

Always thought what race() method of a Promise in #JavaScript might be used for. It appears to be quite useful when implementing request timeout.
#ES2015 #ExploringES6

You can redefine default then() behavior if you resolve Promise with thenable object, the one with then interface.
#JavaScript #ES2015 #ExploringES6

Software development jargon sometimes takes very unusual forms. An essence that has "then" interface is called thenableπ€
#JavaScript #ES2015 #ExploringES6

π€π§π©βπ»π¨βπ»π©π
The programming style of using callbacks (especially in the functional manner shown previously) is also called continuation-passing style (CPS), because the next step (the continuation) is explicitly passed as a parameter.
#ES2015 #ExploringES6
You can block browsers reaction to any action by running this simple function. But somehow browser remembers your actions and applies them after synchronous part of the code is finished. Do you know how?
#ES2015 #ExploringES6

Last Seen Hashtags on Sotwe
buguru salsa.
Seen from Indonesia
rashmika
Seen from India
ibutemen
Seen from Indonesia
omegle
Seen from Norway
ΩΨ§Ψ±Ω
Seen from Algeria
ΰΉΰΈ‘ΰΉΰΈ‘ΰΉΰΈ²ΰΈ’
Seen from Singapore
nolimits nolimits nolimits nolimits filter:videos
Seen from Netherlands
nolimit()***********************
Seen from Sweden
raaxo
Seen from United Kingdom
OMegle()() filter:native_video
Seen from United States
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
241.2M followers

Barack Obama 
@barackobama
119.1M followers

Cristiano Ronaldo 
@cristiano
112.8M followers

Donald J. Trump 
@realdonaldtrump
111.8M followers

Narendra Modi 
@narendramodi
107.1M followers

Rihanna 
@rihanna
98.3M followers

NASA 
@nasa
92.3M followers

Justin Bieber 
@justinbieber
91.4M followers

KATY PERRY 
@katyperry
89M followers

Taylor Swift 
@taylorswift13
82.9M followers

Lady Gaga 
@ladygaga
74.4M followers

Virat Kohli 
@imvkohli
71.9M followers

Kim Kardashian 
@kimkardashian
70.4M followers

YouTube 
@youtube
68.8M followers

Neymar Jr 
@neymarjr
64.8M followers

Bill Gates 
@billgates
64.6M followers

The Ellen Show
@theellenshow
62.4M followers

Selena Gomez 
@selenagomez
62.1M followers

CNN 
@cnn
61.8M followers

X 
@x
60.8M followers

