Menu

#4 fileattributes shouldn't be overloaded

open
nobody
5
2005-01-12
2005-01-12
No

This will require a TIP, but:

It's bad interface design, IMHO, to map the three
functions, VfsFileAttrStrings, VfsFileAttrsGet and
VfsFileAttrsSet into the same tcl proc
'fileattributes', because it requires the tcl proc to
decode the intended functionality from the arglist.

Instead, there should be three procs, attrget, attrset
and attrstrings (or similar) which implement the
functionality.

Discussion


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.