|
|
|
|
|
by earthboundkid
515 days ago
|
|
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. |
|