7

The state of web dev is we have to be explicit that a lib DOES NOT depend on jQuery.

Even when it is blindingly obvious that will be a terribly bad idea to do so.

https://github.com/STRML/...

Comments
  • 4
    As a webdev myself, fuck webdevs. I've seen it all Angular&jQuery, Vue&jQuery, Electron&jQuery people should stop this fucktardness, seriously.

    Another thing most webpages don't need a fucking framework in the first place, you can write most functionality with ease if you understand how to bind variables by hand.

    But i lost all hope for most webdevs, they don't code, they copy paste.
  • 1
    @Hammster I'm 90% with you, but Next.js makes building a static website so much nicer
  • 0
    @Hammster @Hedgepig as someone who is considering get into web development, I'm a little concerned about which could be the stuff (framework, practices, mindset) that it's better to avoid?
  • 4
    @0x412E2047696C I would avoid jQuery at this time and point, the reason is simple jQuery is a dom manipulation framework that aimed to normalize the API across browsers, and provide some extra functions. Since ES5 this is not much of a problem anymore.

    Other then that this book serious will teach you pure JS https://github.com/getify/...

    Most of the big frameworks have their purpose, i hate angular but it build around very common industry workflows. On the other hand Vue and React are what i would use. If the page is small stick with plain JS. And if you have a bigger system that is pretty unique (Like a Online Game) i would write my own framework.

    But tbh you should decide on the framework after you've learned enough about javascript to understand the differences/advantages/dissadvantages yourself ;)
  • 2
    I'd say better to grasp the foundations of JS first. Then go for whatever takes your fancy.

    Do you have a programming background? If not try and learn concepts in this order
    - procedural
    - functional
    - object oriented

    When you get to a framework:

    I am from a React background, so naturally biased (someone else can speak up for other frameworks).

    React is a view layer with uni direction state management, combined with Redux can make for well structured programming. It works really well with functional style too, which has a bunch of advantages over object oriented
  • 2
    @0x412E2047696C avoid jQuery and you're fine for the most part
  • 2
    Yep, @Hammster s advice is solid too
  • 3
    @Hedgepig yours too ;)
  • 1
    Me talking to my project partner
    Him: "I completed the task you asked and add jquery to be bundled with react too"
    Me: "why tf you include jquery with react"
    Him: "because I know jQuery"
    Me:"#£#_-££+(&!_#-"
  • 1
    @IndoDev he needs to read how react works
  • 0
    @Hedgepig he even still confuse sometimes about naming usage of each vars passed between functions, let alone understanding react. *Sigh*

    I thought building a team based on willingness first than skill is a horrible decision I made. Now I realise to pick ppl based on skill first, like my dev friend suggested. Anyway I am about to dismiss this team. M sick of the only burden handler n babysitting them at the same time.
Add Comment