Sirsnuffles@lemmy.world to Showerthoughts@lemmy.world · 1 year agoHopping and running are the same thing. Except alternating feet.message-squaremessage-square4fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1message-squareHopping and running are the same thing. Except alternating feet.Sirsnuffles@lemmy.world to Showerthoughts@lemmy.world · 1 year agomessage-square4fedilink
minus-squaredill@lemmy.onelinkfedilinkarrow-up0·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-up0arrow-down1·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.