• Python
    link
    fedilink
    arrow-up
    17
    ·
    6 days ago

    smh, could have used the short form ()=>{ instead of function 😤

    • Deebster
      link
      fedilink
      English
      arrow-up
      10
      ·
      6 days ago

      I’ve been coding long enough that I still think of that as a fairly new thing in JS.

    • PoolloverNathan
      link
      fedilink
      arrow-up
      6
      ·
      5 days ago

      Someone’s handed me nested base-64 encoded JSON before and to this day I am moderately annoyed at them.

      • MinekPo1 [She/Her]@lemmygrad.ml
        link
        fedilink
        arrow-up
        2
        ·
        5 days ago

        unity kinda does this ! there is a json file wirh a base-64 encoded string (UTF-16 encoding) and is a completely different data structure with embedded json

        • PoolloverNathan
          link
          fedilink
          arrow-up
          2
          ·
          5 days ago

          I just had to add URL-encoded TOML to something due to a certain Rust crate’s constraints.

  • zygo_histo_morpheus
    link
    fedilink
    arrow-up
    9
    ·
    6 days ago

    Why settle on cammel case (“saveGame”) or upper cammel case (“SaveGame”) when you can have one of each?

  • Kissaki
    link
    fedilink
    English
    arrow-up
    10
    ·
    6 days ago

    In German we say “doppelt hält besser”. Is there an English saying like that? “Twice is stronger/more stable/holds better.”