jed_fox1’s avatarjed_fox1’s Twitter Archive — № 185

  1. What’s better than camelCase, kebab-case, and snake_case? normal writing case!
    oh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @jed_fox1
      Yes, this really works! There are some restrictions, though: you can’t include as|from|default|of|in as words in your identifier, and its first word can’t be any of await|let|yield|get|set|static. See the code: github.com/j-f1/forked-engine262/compare/master...spaces-in-identifiers
      1. …in reply to @jed_fox1
        Multiple spaces are collapsed into one (i.e. foo bar bazfoo bar baz). The only allowed whitespace right now is U+0020 SPACE, but I’m open to adding more if they’d make sense. Please don’t use this in production though. Please.
        1. …in reply to @jed_fox1
          How to try it out: $ git clone github.com/j-f1/forked-engine262 -b spaces-in-identifiers $ cd forked-engine262 $ yarn $ yarn build # may take a few seconds $ node bin/engine262.js