Primitive Type Wrappers #8
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It may be worth considering the value of elevating the type aliases provided in coral lL (
coral::u8
,coral::i64
, etc.) into distinct object types.While there's always the risk it makes it harder for the compiler to optimize simple types, doing so would still have some advantages in the arenas of type safety and program correctness.
Object wrappers would provide stronger and more finely tuned conversion rules, allow for attaching utility methods, and allow for runtime checked arithmetic operations that can return errors instead of silently overflowing or Nan propagating
No longer applicable as there is no longer any C++ in the codebase.