logoalt Hacker News

gpmyesterday at 5:41 PM2 repliesview on HN

If we start creating more `&... T` ptr types I wonder if a future edition changes `*const T` to `&raw T` for consistency...


Replies

kibwenyesterday at 6:47 PM

I'm hoping that languages move away from the sigil-ified legacy of C treating pointers as special syntax and just start calling these `Ref<T>`, `PtrConst<T>`, etc.

steveklabnikyesterday at 7:21 PM

Ehhh it’s already consistent: ones with & borrow, ones without do not.