Better HN
topnewbestaskshowjobs
Log inSign up

jjdhxhbe

2 karma · joined Aug 19, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

Using a pointer in go can mean two things and I don't like it: - Value can be nil - Value is mutable

It's neither possible to have a const but nilable value as well as it's not possible to have a non-nilable mutable value