Boost logo

Boost Users :

From: Delfin Rojas (drojas_at_[hidden])
Date: 2005-09-14 13:54:43


> > I think the word "status" in space_status is misleading since
> > available/total space is not really a status.
>
> What makes you say that?
>
> Ben.
>

It is just my interpretation of the word "status": the status of a patient
(stable, critical, etc.), the status of an electronic device (powered,
running, connected, disconnected, etc.).

If I see a function or structure that is called filesystem_status I would
think it represents one or more states in which the files system can be,
like empty/full or online/offline. I guess each possible total_size /
used_size combination is a possible filesystem status but still it doesn't
sound good to me.

At the end of the day it is up to whoever implements the function to decide,
I was just giving my suggestion because I think it is important programming
constructs have a name from which their usage/meaning can be easily guessed
or deduced.

-delfin


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net