Menu

#19 Flexable naming scheme for method names

Completed
open
None
5
2003-02-09
2002-11-11
Anonymous
No

Some people would prefer a <noun><verb> method
naming scheme over the <verb><noun> scheme. For
example:

ChildGetFirst()

...instead of...

GetFirstChild()

This way, the methods sort nicely alphabetically. It
would be great if the user had the option of which
scheme to use.

Discussion

  • Craig Gunhouse

    Craig Gunhouse - 2003-02-09

    Logged In: YES
    user_id=109050

    Maybe not the solution you wanted but you can now change
    the default prefixes on the Get and Set Methods for a ne
    class member.

     
  • Craig Gunhouse

    Craig Gunhouse - 2003-02-09
    • milestone: --> Completed
    • assigned_to: nobody --> gunner
     
  • Craig Gunhouse

    Craig Gunhouse - 2003-02-09

    Logged In: YES
    user_id=109050

    Maybe not the solution you wanted but you can now change
    the default prefixes on the Get and Set Methods for a ne
    class member.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.