Sirsnuffles@lemmy.world to Showerthoughts@lemmy.world · 1 year agoHopping and running are the same thing. Except alternating feet.message-squaremessage-square5fedilinkarrow-up130
arrow-up130message-squareHopping and running are the same thing. Except alternating feet.Sirsnuffles@lemmy.world to Showerthoughts@lemmy.world · 1 year agomessage-square5fedilink
minus-squaredilllinkfedilinkarrow-up1·1 year agoI am annoyed that I can’t think of an argument for this. I don’t want to believe it
minus-squareintensely_human@lemm.eelinkfedilinkarrow-up1·edit-21 year agoWhereas many languages make functions first class citizens, via the use of this javascript turns execution contexts into first class citizens as well. You can build up an object of key value pairs and then proceed as if those were named variables in the code. Obviously it has its pros and cons, but it’s a powerful tool.
I am annoyed that I can’t think of an argument for this. I don’t want to believe it
Whereas many languages make functions first class citizens, via the use of this javascript turns execution contexts into first class citizens as well.
You can build up an object of key value pairs and then proceed as if those were named variables in the code.
Obviously it has its pros and cons, but it’s a powerful tool.