These are chat archives for ractivejs/ractive
so an array may be easier to reason able
I agree. the reason I choose objects over arrays is multiple: 1. I have an array with a primary key (so an object naturally takes care of that), 2. searching that primary key in the object is far faster than doing the same thing for an array
by sort the object, I mean create a new one by inserting the keys in the order you wish for them to appear
I always stringify the data back and forth, so I'm not sure this will be persistent across database reads
shufflea bit :)
;s and change
shuffleflag, that only works for arrays when they are updated in a non-shuffling way (not with
splice, etc) so that they can move items around based on content
sourceflag with the ability to key into an object, which sounds like it would be super useful for syncing data stores and hard to get in a plugin form
what's the longest you've ever bug hunted a typo?
do you write without looking at keyboard?
Yes. No if it's a new/someone else's keyboard, especially if the right-hand symbols change places/differ in size. :smile:
No if it's a new/someone else's keyboard, especially if the right-hand symbols change places/differ in size.
I even refuse to write anything if places are changed and/or sizes are different. I don't buy a computer unless Ctrl key is at left corner (eg. apple keyboard)
https://www.youtube.com/watch?v=LnxSTShwDdQ(because gitter embeds huge previews).