Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

<h2 id="seriously-some-minimal-fucking-things-are-needed-to-make-this-shit-perfect">Seriously, some minimal fucking things are needed to make this shit perfect.</h2>

What's with the long ID's that look auto-generated? Imagine a large site with this pattern. Does it has a purpose, or is it part of the byte-wasting satire?

Also, after developing large dynamic websites with jQuery I learned that using classes instead of ids is a better strategy.



You can (debatably should) do this, as it allows you to deep link into a document. http://example.com#elementID links to that specific item.


I see, thanks!




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

Search: