<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
</div>You should never create your own Bool like this.  A reasonable<br>
solution would be to have an enum like:<br>
<br>
Folder, File, PermissionDenied<br>
<br>
Then have a method to return the enum.</blockquote><div><br>Call it A, call it B. In the end, it is the same solution. Obviously, Bool is not the best name in the world, and is not encouraged, but they are both a enum in the same class. That does not make a very big difference.<br>
<br>However, yes, what you said is the best thing in this case, but before shouting WTF I would have to read the context of that enum Bool, since for me is not a WTF without context.<br></div></div>