22 Matching Annotations
  1. Nov 2023
  2. Mar 2023
  3. Sep 2022
  4. Jan 2022
  5. Sep 2021
    1. Analogous structures have the potential to reveal what selective pressures led us to develop language

      it's rly useful to study analogous traits, as we can use them to test evolutionary theories to do with function. we can't do this with homologous structures, bc the change would have come from one common ancestor (and so would just be one data point, even if it affected millions of species)

  6. Jun 2021
  7. Apr 2021
  8. Feb 2021
    1. {a: 1, b: 2, c: 3, d: 4} => {a:, b:, **rest} # a == 1, b == 2, rest == {:c=>3, :d=>4}

      equivalent in javascript:

      {a, b, ...rest} = {a: 1, b: 2, c: 3, d: 4}
      

      Not a bad replacement for that! I still find javascript's syntax a little more easily readable and natural, but given that we can't use the same syntax (probably because it would be incompatible with existing syntax rules that we can't break for compatibility reasons, unfortunately), this is a pretty good compromise/solution that they've come up with.

  9. Nov 2020
  10. Oct 2020
  11. Sep 2020