3 ms·
`There are 284 lines of such unbearable mingle, which is absolutely impossible to grasp for anybody.` 284 lines of (relatively straightforward if poorly writte
by mythrwy 9y ago
`There are 284 lines of such unbearable mingle, which is absolutely impossible to grasp for anybody.`
284 lines of (relatively straightforward if poorly written) jQuery? Oh the horror!
`Want to be as cool as Kirill Shirinkin?
Then enroll to the training! In his articles Kirill shares only a glimpse of his true knowledge.`
I think I've seen enough but thanks for the offer.
- always_good 9y agoThe jQuery might be straight-forward in the sense that you know what `$cardForm.find('input[type=submit]').prop("disabled", false)` does, but the hard part is reasoning about the possible states of your UI when your only source of truth is a bunch of procedural mutations. Not only does it incrementally change the DOM, but it also queries state from it. We've been trying to move away from that for some time now. I remember that's how jashkenas pitched Backbone 7 years ago.
- tomgp 9y agoStill, introducing a framework and a build system and everything that entails for the sake of 300ish lines of code? You could rewrite that in plain js avoiding the pitfalls you mention in less time I would have thought. As others have mentioned they’d be better off employing a front end specialist... whether they’d recognise a good one is a moot point.
- mythrwy 9y agoOk great, but I'm just laughing because I regularly get mudballs 10-20 times+ that size and I figure them out. So when I got the end and he advertised to share more wisdom for a fee I nearly fell off my chair.