

1·
1 month agoGood rule of thumb. As long as it’s not followed blindly of course.
Structs with lifetimes are often quite convenient. Especially for performance.


Good rule of thumb. As long as it’s not followed blindly of course.
Structs with lifetimes are often quite convenient. Especially for performance.
It’s not. Numbers are arranged (both binary and base 10) with the most significant digit on the left.
Whether you read the number from left to right or right to left is irrelevant and you can choose whichever one you want.
But it is completely consistent with base 10 (normal numbers).