krapp 3 days ago

JQuery.

I'm serious. Every time I see modern JS I look back at the JQuery ecosystem and it seems like we were all expelled from paradise. Elegant, modular, flexible, simple. Easy to use and extend. Even had a GUI library. No need for cross-compilation. No need for a package manager with a centralized namespace and a brittle and easily sabotaged dependency tree, because the web itself is the package manager (as God intended.)

  • Chyzwar 3 days ago

    jQuery codebase is pretty ugly, it has written mostly ES5, it is using custom mixin system and is full of weird workarounds for IE.

    jQuery age was horrible. You needed to manually add <script/style/fonts> into HTML. Everything was based on classes and IDs, small change in CSS would brake jQuery functionality. Codebases were poorly organised and often a mixture of PHP and JS that was re-initialised on every form click. If you wanted to use a third party component, you typically needed to pay for it. Before package managers, you got a zip file, or you needed to include script tag to third party domain in specific order, after jQuery and jQuery-UI.

thorin 4 days ago

I remember jquery being an early classic with some annotated versions being available when I had an interest in learning js. No idea how much it has dated now.