Hacker News new | past | comments | ask | show | jobs | submit login

> Keep in mind we will still support the positional methods, such as .first, .last, and .eq. Anything you can do with positional selectors, you can do with positional methods instead. They perform better anyway.



Except half of the point of css selectors was that you strongly encouraged your coworkers to use similar selectors for style and behavior. Now you have two implementations of the same thing and over a long enough time horizon that always breaks.


But these aren't standard selectors so you couldn't use them for style anyway.


OH! You are correct. Been staring at backend code too long.


> Anything you can do with positional selectors, you can do with positional methods instead.

With nowhere near the convenience and clarity of selectors e.g. $("foo bar:first baz qux") or event delegation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: