Menu

#13 path function names

design_question
open
nobody
wheat core (23)
5
2004-02-11
2004-01-11
No

The function names for path managment in both Path and
NameSpace are lousy.

Currently:
NameSpace::path() -> given a Path return an
ObjectPointer
NameSpace::pathTo() -> given an ObjectPointer return a
Path

Path::appendPath() -> if the argument is a relative path,
treat the current path as the base and do the relative path
computation, if the argument is absolute, just set the path

These are hard to remember, poorly named, and perhaps
even poorly factored.

Discussion

  • Mark Lentczner

    Mark Lentczner - 2004-02-11
    • milestone: --> 375469
     
  • Mark Lentczner

    Mark Lentczner - 2004-02-11
    • milestone: 375469 --> design_question
     

Log in to post a comment.