Log message #4158383

# At Username Text
# Jul 12th 2018, 13:57 josbeir i'm using babel to transpile my js tho, it compiles es6/7 to es5
# Jul 12th 2018, 13:56 josbeir and if the client/project requires a major user-base, then we use jquery :)
# Jul 12th 2018, 13:56 flavius good plan, if you wana go broke :)
# Jul 12th 2018, 13:56 josbeir anyway thats how we do it, we just agree on supported browsers before we get going
# Jul 12th 2018, 13:55 flavius :P
# Jul 12th 2018, 13:55 josbeir :)
# Jul 12th 2018, 13:55 flavius its k, google translate
# Jul 12th 2018, 13:55 josbeir :)
# Jul 12th 2018, 13:55 josbeir haha sure but its in dutch
# Jul 12th 2018, 13:55 flavius can you give me a draft? ill just attach it to the contract :,)
# Jul 12th 2018, 13:53 josbeir let them sign a browser policy before you start coding :)
# Jul 12th 2018, 13:53 flavius sometimes i want to use full es6 and es7 and then some client complains that windows mobile browser wont display correctly and then i cry internally :P
# Jul 12th 2018, 13:48 josbeir ^^
# Jul 12th 2018, 13:48 itmpls to each his/her own :slightly_smiling_face:
# Jul 12th 2018, 13:47 flavius just like @admad said `$('form')` is way shorter than the alternative
# Jul 12th 2018, 13:46 flavius it also unifies some aspects and makes it faster to write code
# Jul 12th 2018, 13:46 josbeir i get that
# 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