Closed tomayac closed 1 year ago
I don't have a strong opinion on this: the main reason why I decided for kebab-case was to align as close as possible with IPP attributes and make porting existing code easier. If you believe that alignment with Web Platform Design Principles outweighs this benefit, I'll be happy to follow :)
Number of web developers using this API
> Number of web developers aware of IPP
If we can do this transformation algorithmically then I'm okay with matching the web platform style. If the spec needs to have a mapping table then I'm less happy with it.
I don't foresee any problems with establishing an automatic mapping from xxx-yyy-zzz
to xxxYyyZzz
here.
https://www.w3.org/TR/design-principles/#casing-rules
Compare
attributes['printer-name']
vs.attributes.printerName
.