#3 Improve "const correctness"

closed
None
5
2005-07-22
2005-07-03
No

Would you like to apply the advices from the article
"http://en.wikipedia.org/wiki/Const_correctness" to
your sources?
I suggest to add the key word "const" to the type
specifiers of parameters for some functions.
http://cvs.sourceforge.net/viewcvs.py/geneontology/go-dev/c-lib/golib.c?rev=1.3&view=markup

Discussion

  • Midori Harris

    Midori Harris - 2005-07-18

    Logged In: YES
    user_id=436423

    moving to go-perl requests because that's the closest match to the topic of
    this post (even though the item refers to C functions)

     
  • Markus Elfring

    Markus Elfring - 2005-07-22
    • assigned_to: nobody --> cmungall
     
  • Markus Elfring

    Markus Elfring - 2005-07-22

    Logged In: YES
    user_id=572001

    Do you notice any difference in the generated object code if
    all proposed refactorings will be applied?

     
  • Chris Mungall

    Chris Mungall - 2005-07-22
    • status: open --> closed
     
  • Chris Mungall

    Chris Mungall - 2005-07-22

    Logged In: YES
    user_id=254723

    The C lib is no longer used or supported, use go-perl instead, thanks