I’ve copied an Apache class into my code for primitive int to Object maps, made it generic and added binary search to make gets faster… also added some methods to find objects in a given range… the only thing I really hated about the Apache code were the comments. You could hardly read the code for all the blah-blah javadoc. I’ve deleted all the comments tonight, the code is much more understandable now
I’m confused, is there a question? >_>
it’s a rant-o-brag, or rag for short.
To be or not t…
Nope no question, just pleased my class works And taking the opportunity to knock comments - hate 'em.
Hate all comments?
Well, I like reading good javadoc, but I hate code with lots of Javadoc comments. I was being dumb, I should have just done this:
http://www.jetbrains.com/idea/webhelp/configuring-autofolding-behavior.html
Yeah, configuring your IDE to collapse long comments was probably the way to go. Now you’ve removed the ability to mouse over a function you’re using to get a description of it, which is probably what those comments were for in the first place.
Burn the witch!