a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by briandmyers
briandmyers  ·  4282 days ago  ·  link  ·    ·  parent  ·  post: Yes, your code does need comments.

Well, turnabout is fair play, so if you'd like to critique my commenting style, there's some here : http://hubski.com/pub?id=67105 (If you don't want to, I won't mind).

Although I adapted that code from a library I found online, most of the commenting in there is mine.





akkartik  ·  4282 days ago  ·  link  ·  

Ah, I saw and liked that! I'd meant to go back to it in more detail. Ok, it might be a few days, but I'll get back to you.

akkartik  ·  4281 days ago  ·  link  ·  

I'm curious: Why did you not bother with negative numbers? Were they just not relevant to the application you had in mind?

briandmyers  ·  4281 days ago  ·  link  ·  

Yes, exactly so.