Hacker News new | ask | show | jobs
by throwaway27448 16 days ago
Learning to program with pointers is enormously useful. It's simply bad software engineering to not use typing to enforce constraints on access to pointers (or addresses, or however you'd like to term them)
1 comments

IIRC that talk of about using indices (u32) to represent data in an array. That is orthogonal to representing that information in the type system since you can just type the index
How do you distinguish the array from the index? Is an array not just a pointer and index description?