---
title: "Comment by Mark on \"Something about Go strings that you should know\" | Hashnode"
description: "Yeah, this is kind of annoying (it&#39;s the same in Rust). I used to wonder if it was just for performance that they don&#39;t count &quot;characters&quot;, be"
url: "https://hashnode.com/posts/something-about-go-strings-that-you-should-know/5cfe56d445fbc614406d1095/comment/5cfe7d96497f0f1c6ebf60a7"
---

[Discussion](https://hashnode.com/posts/something-about-go-strings-that-you-should-know/5cfe56d445fbc614406d1095)

Comment [Something about Go strings that you should know](https://hashnode.com/posts/something-about-go-strings-that-you-should-know/5cfe56d445fbc614406d1095)

[Mark](https://hashnode.com/@mverleg)

[Jun 10, 2019](https://hashnode.com/posts/something-about-go-strings-that-you-should-know/5cfe56d445fbc614406d1095/comment/5cfe7d96497f0f1c6ebf60a7)

Yeah, this is kind of annoying (it's the same in Rust).

I used to wonder if it was just for performance that they don't count "characters", because that's obviously what we want to know.

But turns out characters is a hard to define concept, and certainly unicode code point don't correspond to characters. There are all kinds of languages and even symbols and pictures in unicode, many made up of different 'parts'.

It's not a technical issue, the real world is just messy. I think it's the way other languages are going too. It's one of the bigger changes in Python 3 and [even Java](https://dzone.com/articles/java-may-use-utf-8-as-its-default-charset) might change (Java actually already had unicode, but chose utf16).

[This is an interesting article](https://manishearth.github.io/blog/2017/01/14/stop-ascribing-meaning-to-unicode-code-points/) about the topic.

Monospace also gets tricky, I've switched to proportional fonts for most coding.

[Aravind](https://hashnode.com/@scriptonist)

[Jun 10, 2019](https://hashnode.com/posts/something-about-go-strings-that-you-should-know/5cfe56d445fbc614406d1095/comment/5cfe7d96497f0f1c6ebf60a7#reply-5cfe8e3690c6ae176ecfbfb7)

Totally Agree [Mark](https://hashnode.com/@mverleg)
