from Hacker News

53% Less JavaScript with jQuery

by sawirricardo on 8/12/24, 6:34 AM with 16 comments

  • by haburka on 8/12/24, 8:26 AM

    This really isn’t worth reading. The author is trying to stir up controversy without making substantive points. For example, the ES6 the author wrote is a scapegoat file with pretty bloated design that wouldn’t pass a code review. Additionally, the author isn’t comparing bundle size, but rather LOC without dependency size which is baffling.

    If you read the replies you can find people who trivially write better versions using ES6.

  • by 1GZ0 on 8/12/24, 7:04 AM

    Post E6 I personally think that Javascript is good enough to raw dog.

    Producing code that isn't locked to a single framework or library is its own reward.

  • by jslakro on 8/12/24, 9:22 AM

    Although he exposes interesting points there, the final download size is still 20x larger than ES6. You gain DevEx against some load time
  • by bestest on 8/12/24, 9:43 AM

    that's so subjective it's a wonder this is an actual post.