Live data from Hacker News

Viewing profile — mzgol

mzgol

HN member
Joined
Thu, Apr 26, 2018, 7:27 PM UTC
HN karma
14
Public activity
4 items

About mzgol

No profile information was provided.

Recent public activity

  1. comment
    Comment #21584118

    Not everything can be handled by a minifier. Consider multiple accesses of `item.prop` where `prop` is optional. You can cache `item.prop` in a variable to avoid multiple checks bu…

  2. comment
    Comment #21584038

    Thanks for the terminology fix. With lots of these assertions, especially in the form of `x as unknown as TheProperType` we wouldn't have to increase file size but that would nulli…

  3. comment
    Comment #21583599

    A nice thing is you can import from `src/jquery.js` directly from the browser without any build process in every modern browser. https://gist.github.com/mgol/af95c1358d4ca9f2d45db4…

  4. comment
    Comment #21583219

    Some of jQuery APIs wouldn't be that easy to convert to TS internally, we'd have to have lots of casting and most likely file size would suffer and that's one thing we care a lot a…