[haiku-development] Re: [patch] Show partition types in DriveSetup
- From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 17 Apr 2012 09:14:37 +0200
On 16.04.2012 20:59, Ingo Weinhold wrote:
Commenting on the ticket is better then sending an email to this list as
well since a lot of people are subscribed to this list and many of them
don't care about this or that particular bug. When you comment on a bug
report it will automatically email everyone following that bug.
I suspect for a lot of topics raised on this mailing list, you find a lot of
people who are not interested in it. :-)
Besides that, discussing an early work in progress, or for a general
direction (even with a patch) is much better done on the mailing list.
One can always just paste the patch within the mail so that it's not lost.
That said, if persistence is an aim, the bug tracker is indeed the
better choice.
BString partitionType = BString("(");
partitionType<< partition->Type()<< ")";
I like the single line version better.
+1
or better yet:
BString partitionType = BString(partition->Type());
partitionType.Prepend("(");
partitionType.Append(")");
That reduces the readability IMO. Using SetToFormat() would also be an
alternative with good readability.
+1
The single line version is perfectly clear, no reason to split that up
into three lines -- that's not only less efficient, it's also not as
clear IMO.
Bye,
Axel.
Other related posts: