3 ms·
A trick here is to use keyboard macros to do the boilerplate. Yes, I can see my preceding correspondent was correct in discontinuing this engagement. Sorry to
by jarcane 12y ago
A trick here is to use keyboard macros to do the boilerplate.
Yes, I can see my preceding correspondent was correct in discontinuing this engagement. Sorry to have wasted our collective time.
- z3t4 12y agoI prefer document.getElementById("myKitten") because it's easier to read and more describing then just $("#myKitten") If it's too long to type, and you use it often, make a macro for it. When naming stuff, keep it short and simple though. Also, you shouldn't hide logic behind names. I was actually wrong about evens.map(v => v + 1); If that's what you want to do, then write that. It's a thin line though, it might be hard to know what "v" is in that context.