3 ms·
> whereas in jquery you're passing two arguments into a function without being able to see what they're for or what order they should be in. Unless, of course,
by masklinn 16y ago
> whereas in jquery you're passing two arguments into a function without being able to see what they're for or what order they should be in.
Unless, of course, you've spent roughly 5mn reading upon how jQuery's getting and setting works. Then you know the first argument is a key and the second one is a value to set.
I can see you've also quickly moved the goalposts, from "fu.js's syntax is much nicer" (emphasis yours) to "I claim to undetstand what fu.js does without having read its documentation"
- Tycho 16y agoWell in the original examples I responded to, I thought the syntax was considerably nicer, that's what I was commenting on. In the different examples (shifting goalposts...) someone responded to me with, the benefit was less pronounced. In general, jQuery has absolutely horrible syntax (IMO), so I can understand someone building a library to make a few small improvements like normal assignment statements.