Sirsnuffles@lemmy.world to Showerthoughts@lemmy.world · 2 years agoHopping and running are the same thing. Except alternating feet.message-squaremessage-square6fedilinkarrow-up124arrow-down13
arrow-up121arrow-down1message-squareHopping and running are the same thing. Except alternating feet.Sirsnuffles@lemmy.world to Showerthoughts@lemmy.world · 2 years agomessage-square6fedilink
minus-squaredill@lemmy.onelinkfedilinkarrow-up1·2 years 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-22 years 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.