4 ms·
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
by jjdhxhbe 2y ago
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