Posts by nothingmuch

    Avatar

    nothingmuch

    3 months ago

    Topic: no jobs scheduled, last update july 7th

    Hi,

    I just switched all my enlistments from http:// git to git://, and realized that nothing was updated since july 8th.

    Furthermore, it says "no jobs scheduled" for any of the new enlistments.

    http://www.ohloh.net/projects/10203/

    Thanks


    Avatar

    nothingmuch

    7 months ago

    Topic: facebook integration

    TEH FRENDS!!! U CAN INVITE!!11oneoneone

    seriously though, there are interesting options to explore, WRT social networking, without needing to encumber ohloh itself with various "friend" features


    Avatar

    nothingmuch

    9 months ago

    Topic: My projects, and Perl projects in gen...

    Well, why does the sum of comments + code + blank need to equal the number of newlines in the file? I think there is room for several dimensions: code vs. non code lines is one measure, commented vs. non commented lines is yet another, docs out of the total is yet a third. Then there's the issue of boilerplate... If i start all my files with a 30 line header saying "i edited this on date blah", and then including a verbatim license, and so on and so forth-- IMHO that doesn't count as comments, but actually meta data. I suppose that last one is very hard to fix perfectly, but maybe some sort of heuristic is in order (splitting up into block comments, and running heuristics on the text itself). And speaking of block comments - does a commented line with no text in it count as comments? or blanks?

    Cheers


    Avatar

    nothingmuch

    9 months ago

    Topic: My projects, and Perl projects in gen...

    A high number of comments might indicate that the code is well-documented and organized, and could be a sign of a helpful and disciplined development team.

    Ideally I would like that to also say "a low number of comments might indicate that the code is readable enough that it doesn't need them" ;-)...

    Seriously though, every comment I write is a red flag for me. I don't like it when I'm doing something that isn't clear from the code itself, so if I catch myself trying to explain or make excuses I stop and think hard. Sometimes there's no way out, of course, but I think this counts for something too.

    See also an interesting post on the subject by Aristotle Pagaltzis, which seems to share my sentiments in a more articulate manner.

    In short, I've tried very hard to make my comment count low (no boilerplate, and fewer situations that need comments, I just have them when it's necessary or when I feel really witty), and I don't think that it merits a warning sign.