On 11/5/26 2:55 PM, Paul wrote:
> On Thu, 11/5/2026 3:32 PM, T wrote:
>
>>
>>
>> Have you thought of trying it out on your own computer
>> to see what happens?
>>
>
> You're missing my point.
>
> The value "3" is not special. The value could be "103".
> It could be "10000003". All of those numbers will do the
> same thing, because the case statement simply does not
> respond in any way to the errant numbers. It cannot
> open the message on a double click, because the
> case statement is coded that way! It's not as if
> the value "3" was determined by LLM-AI to be a
> valid enum and it represents "don't respond". It is
> a side effect of a case statement design, which could
> be changed tonight and re-released tomorrow. And then
> you'll be making another visit to your customer site.
>
> When you use an out-of-range value, this is not
> a guarantee of a good time. That's the point.
>
> The staff at Mozilla, they could add "3" to the ENUM list,
> and define a new option. And what would happen to you
> and your choice of a value ? You're not forwards-compatible
> by doing that. Sure, it solved your problem on day X,
> but that could easily end up broken on day X+1.
>
> And this is what should be passed along to the audience.
> It's not a valid code point. Any response, good or bad
> the tool makes, is purely accidental and subject to change.
>
> And by the way, as a software practice, you're not supposed
> to do that. In hardware design, of state machines, we're taught
> in school to define every state and have a response to every
> possible state. This is to ensure, if a register ever
> contains an invalid value, the hardware can recover in one
> clock cycle. We make the machines go back to the idle state,
> that's a typical choice. When you then go to work, for your
> first job, you go into a design review, and your state machine
> was not "defensively designed" as you were taught in school,
> you'll catch hell for that.
>
> In the case of this case statement, all it needs is a Default
> clause to handle all the other values. As an explicit indication
> to the audience, of what your policy is with regard to
> a user putting the value "3" into about:config, as you have done.
> If the memory on the computer glitched at that location, we
> want code that behaves itself and does not do anything novel
> out of the blue. If the Default clause was there, the LLM-AI
> could not pretend this was an undocumented option. It *isn't*
> an undocumented option, the LLM-AI has simply observed "something
> novel happens" if the value is outside the ENUM range. If the
> LLM-AI was actually "artificially intelligent" it could have
> pointed this out to you. As it stands, you will have to ask
> the LLM-AI the right series of questions or make observations,
> for it to admit what it meant. And that's the problem with LLM-AI,
> they can explain a thing up to a point, but they don't consider
> how the answer could be misleading and additional explanatory
> text is required.
>
> Paul
I think you missed my point too. It worked. I do not know
why. I did not check the code as you did. I did not need
to.