Closed mrDoctorWho closed 7 years ago
I didn't know what to put in there. I really have no brand to put. I should just leave it empty I guess.
Well, let's think about this.
When does this happen?
I mean, what kind of condition makes Windows or Linux a brand?
UNKNOWN(""),
I think it should be unknown string too. The point is that the upper level (the program that uses your library) could easily guess that the library has no idea about the browser/brand/etc name.
OPENSOURCE("An Open Source Project"),
Is that even a thing?
Well, yes and no. I wanted to distinguish the case where a brand is unknow from the case where there is structurally no brand because the project is a collaborative project. Maybe I should add an enum ProjectType { COMMERCIAL, OPEN_SOURCE }
@pieroxy enum is a good idea, love it. Although, opensource can be commercial too.
Fixed with the last two commits. Let me know if the solution works for you.
Why?