# |
Jul 12th 2018, 13:46 |
flavius |
jquery for me is like a polyfill |
# |
Jul 12th 2018, 13:43 |
josbeir |
there's a reason why all big js frameworks are not depending on jquery... |
# |
Jul 12th 2018, 13:43 |
josbeir |
most 'sane' browsers have good support |
# |
Jul 12th 2018, 13:43 |
josbeir |
but we are now 2018 |
# |
Jul 12th 2018, 13:42 |
josbeir |
yeah @flavius it all depends |
# |
Jul 12th 2018, 13:42 |
josbeir |
if i don't have the luxury to invest in a nice js stack i'll just include $ and get going |
# |
Jul 12th 2018, 13:42 |
flavius |
and you'll get a user with some random browser that will complain of errors :P |
# |
Jul 12th 2018, 13:41 |
josbeir |
it all depends, as i stated before, but if i'm working on a personal project where everthing needs to be _perfect_ i wont pick good 'ol $ anymore |
# |
Jul 12th 2018, 13:41 |
admad |
https://code.jquery.com/jquery-3.3.1.slim.min.js is just 68kb. I for one am gonna waste time selecting another lib to maybe say a couple of dozen Kbs more at best |
# |
Jul 12th 2018, 13:39 |
josbeir |
but given we now have webpack with babel etc you only include the functions you need |
# |
Jul 12th 2018, 13:39 |
flavius |
true, jquery is a library |
# |
Jul 12th 2018, 13:39 |
josbeir |
there are enough of those out there |
# |
Jul 12th 2018, 13:39 |
josbeir |
nope |
# |
Jul 12th 2018, 13:38 |
admad |
"just a simple utility lib with some dom manipulation wrappers is good enough" so you mean making your own poor version of jquery slim? :P |
# |
Jul 12th 2018, 13:38 |
josbeir |
jquery is just a wrapper over vanilla js |
# |
Jul 12th 2018, 13:38 |
josbeir |
vue, angular, ember are frameworks |
# |
Jul 12th 2018, 13:38 |
josbeir |
jquery isnt a framework |
# |
Jul 12th 2018, 13:38 |
flavius |
lul, jquery is also a framework |
# |
Jul 12th 2018, 13:38 |
josbeir |
thats not a comparison ! |
# |
Jul 12th 2018, 13:38 |
flavius |
hey, i've got an idea, why use frameworks, just use vanilla instead, screw cakephp :slightly_smiling_face: |
# |
Jul 12th 2018, 13:37 |
josbeir |
don't get me wrong, still use it from time to time, but try to do it whitout in a new project, you'll see the benefits |
# |
Jul 12th 2018, 13:36 |
josbeir |
and 100kb less :P |
# |
Jul 12th 2018, 13:36 |
josbeir |
verbosity is not always a bad thing. |
# |
Jul 12th 2018, 13:36 |
josbeir |
just a simple utility lib with some dom manipulation wrappers is good enough |
# |
Jul 12th 2018, 13:36 |
admad |
`$('form')` is lot less to type than `document.querySelector('form')` and I am lazy :slightly_smiling_face: |
# |
Jul 12th 2018, 13:36 |
josbeir |
its true but now ppl should unlearn jquery... |
# |
Jul 12th 2018, 13:35 |
itmpls |
and yeah, they should learn JS |
# |
Jul 12th 2018, 13:35 |
itmpls |
but anyway we can't change history |
# |
Jul 12th 2018, 13:35 |
itmpls |
the problem is, browsers should've just been more consistent in the beginning otherwise there'd be no jquery |
# |
Jul 12th 2018, 13:34 |
admad |
@rogerpro it's an abomination |
# |
Jul 12th 2018, 13:34 |
josbeir |
its just lame that, easpecially new developers think that jquery is a language, some havent even heard of javascript, and jquery is still poluting the overall javascript community on the web imo |
# |
Jul 12th 2018, 13:34 |
rogerpro |
white chocolate is not chocolate |
# |
Jul 12th 2018, 13:32 |
josbeir |
too much metaphors ! |
# |
Jul 12th 2018, 13:32 |
admad |
chocolate isn't bad, the sugar mixed with it is |
# |
Jul 12th 2018, 13:30 |
josbeir |
thats a good reply, hould have tought about that damn @steinkel |
# |
Jul 12th 2018, 13:28 |
steinkel |
so true, specially talking about js |
# |
Jul 12th 2018, 13:28 |
josbeir |
i got nothing ... |
# |
Jul 12th 2018, 13:28 |
flavius |
well, everything in excess is bad for your health :P |
# |
Jul 12th 2018, 13:28 |
itmpls |
dark can be good :slightly_smiling_face: |
# |
Jul 12th 2018, 13:28 |
josbeir |
chocolate is bad for your health |
# |
Jul 12th 2018, 13:27 |
flavius |
i like chocolate better :P |