- From: Tobie Langel <notifications@github.com>
- Date: Tue, 21 Mar 2017 00:39:28 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 March 2017 07:40:01 UTC
> that's also an argument against null though. Well, not really. `null` in that case pretty much means: "object is not in a state that can provide this data right now" as @bzbarsky mentioned above, or "this has not be set yet." The empty string on the other hand is just super weird (and hacky in a way I wouldn't want to see Web APIs hacky). So if I had no other consideration in mind than "how does that feel to a Web dev," I'd say `null` is OK, but `""` should be banned. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/213#issuecomment-287999168
Received on Tuesday, 21 March 2017 07:40:01 UTC