Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: