Re: Solving the symbol-vs-number conundrum
Lassi Kortela 14 Aug 2020 15:57 UTC
>> category
>> class-code
>> class-title
>> subclass-code
>> Subclass-title
>>
>> All these things are determined by the SQLSTATE, so I don't see much
>> reason for lugging them around in status objects.
>
> I say leave it at the discretion of the library developer, and for now
> many of them are used in one SRFI example. Lugging them around may save
> the end user a trip to a file or book.
OK, let's put them in the registry but make them strictly optional. A
particularly conscientious database driver programmer can fill them in.
Well, class-code and subclass-code are simple parts of sqlstate so maybe
they shouldn't be there? We can decide once we're actually writing
drivers, SRFI 198 doesn't need to talk about SQL stuff.
> OK, I'm particularly bad at spelling, but John is absolutely
> right, mnemonic is /horrible/ for natives English speakers trying to
> consistently spell it correctly.
:D OK, point well made! Mnemonic is out.