Comment

Comment by earthboundkid

Python has None, which frequently caused me problems in production, so that's not different, except Go can at least tell between a string and nullable string pointer.

Reversing a string is not a basic operation. A) why would you ever need to do it in the real world? B) reversing Unicode is non-trivial due to composing characters. There are packages available for Go that implement grapheme segmentation. If you need it, you can import one.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton