I could've modified the post and added the links manually, but then:
- Finding the target URL for each section is tedious.
- The blog entry source will be cluttered.
- I'd have to repeat this for all my future posts.
- More importantly, I'd still see unlinked references in forum posts, e-mail discussions, and even some official JLS documents.
- Look up any section directly from the search bar
- Look up a highlighted section number reference in a page from the search action in the context menu.
- By default, Firefox uses the currently selected search engine.
- Add-ons such as Context Search allow users to select from all previously-added search engines.
- There's no official way to refer to the JLS, e.g. "(§ 5.2)", "[JLS 4.10.2, 8.4.8, Liskov87]", or just plain "6.3.1" are all commonly used patterns. Worse still, not all strings that match these patterns are JLS references.
- It's harder to generalize this approach to multiple reference documents. There are already 3 editions of the JLS, and ideally the solution should be naturally generalizable to other documents as well.
- There are many other complicating factors, e.g. the need to monitor dynamically-loaded content, possible interaction with other scripts that modifies the DOM, etc.
- One-click look up is still most convenient.
- Previously looked up references are distinguishable as visited links.
- Links can be augmented with section title, say as a tooltip text.
- Each document simply has its own engine.
- It provides direct "random access" to any section of the document.
- The look up process naturally follows the search workflow in Firefox.
- It only serves when requested. Its presence is virtually undetectable otherwise.
- It's simple.
Java assertion spec/guide - honestly, I just found out about this. Apparently this was added in 1.4?
"Why provide an assertion facility at all, given that one can program assertions atop the Java programming language with no special support?"
Update 2/14: added bookmarklets! Much simpler to use than add-ons!
Update 2/20: added yubnub commands!