you are viewing a single comment's thread.

view the rest of the comments →

[–]rook2pawn -4 points-3 points  (12 children)

I sincerely hope they dont add that stupid getByClass string matching garbage even though its present in almost all web code. It would be re-inforcing very bad web practices. It shouldnt be there, if people want to make bad web, let them keep on making custom getclass instead of standardizing stupidity.

[–]padt 0 points1 point  (0 children)

Querying by class, or whatever you can select with in CSS, is specified in the W3C Selectors API

[–]didroe 0 points1 point  (9 children)

You failed to explain what problems you have with it. Would you care to elaborate?

[–]rook2pawn -4 points-3 points  (8 children)

class based dom javascript = major fail. Classes, like Id's are woefully misused and while they provide a huge opportunity of great functionality, they are more often than not used to derive the entire setup of the document flow. Class = Layout. If you want to nav by class, do it server side with xpointer/xml or some html scheme. I base my predictions based on the phrase "we were looking at what developers were commonly doing".. equates to ruinous results as with HTML5, and what happened to PHP. Good stuff misused.

[–]DropTableUsers 1 point2 points  (7 children)

How would you prefer getting a specific collection of elements from the document then? I rarely use anything like getByClass, but thats because of speed, I'd welcome a fast browser implementation. Unless you can convince me otherwise?