Sirsnuffles@lemmy.world to Showerthoughts@lemmy.world · 1 year agoHopping and running are the same thing. Except alternating feet.message-squaremessage-square6fedilinkarrow-up130arrow-down16
arrow-up124arrow-down1message-squareHopping and running are the same thing. Except alternating feet.Sirsnuffles@lemmy.world to Showerthoughts@lemmy.world · 1 year agomessage-square6fedilink
minus-squaredill@lemmy.onelinkfedilinkarrow-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-up1arrow-down3·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.