Re: [heycam/webidl] Consider renaming number types to match the equivalent WebAssembly types (#843)

While I'm in principle for this change, the resultant IDL files in #856 now look like a strange and jarring mixture between the C/JavaScript style and the more concise Rust/WASM style…

My proposal would be to use `uint32`, `int8`, etc. for integral types, and `float32` and `float64` for floating point types. This provides symmetry with the various `TypedArray` class names and `DataView` method names, considering JavaScript remains the primary target for Web IDL (and also the fact that `TypedArray` classes are also Web IDL types). But no less importantly, it retains the same Web IDL look as it has been, IMHO.

-- 
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/843#issuecomment-600405416

Received on Wednesday, 18 March 2020 03:25:32 UTC