I for one identify as false
Is this TRUE?
best i can offer is
"false"
I’m NaN.
That should be
private string? Gender
. Explicit nullables are your friends.let gender: Option<string>;
I like rust.
I fucking knew when I came into this thread it would just be nerds arguing over how wrong the joke is.
Should be enum.
And don’t capitalize your variables.enum implies that you cant change it, unless you were referring to the bool then true.
Yes, instead of boolean. But instead of String, too, for optimization reasons. You could always just add more enum constants to it.
That requires a recompile though
Think of the patch notes though.
added 4 new genders
C# disagrees
Idk C#, could you explain?
The MS style guide, which most C# code follows, says so.
I personally hate it and I prefer the java/js style. The braces are also horrible. Here’s an example.
public class ExampleEvents { public bool IsValid; public IWorkerQueue WorkerQueue { get; init; } public event Action EventProcessing; public void StartEventProcessing() { static int CountQueueItems() => WorkerQueue.Count; // ... } }
Shouldn’t it be protected and not private?
Also, a static gender would be pretty funny imo
Our gender
hehe that’s good
Why are we even recording that?