On Wed, 2025-10-01 at 08:24 -0700, awaw...@gmail.com wrote: > In fact, I use the ancient Vim editor (without any plugins) as I'm > old fashioned, and Vim doesn't seem to have issues searching for "⊗". > I suppose the search experience is even better in VSCode or github.
I'm not referring to search within an editor, but on the web. Most search engines do poorly with single code point searches. > Regarding the concern that: > > symbols may be meaningful to the author, code consumers find it > > harder. > At present, Go supports ℏ (reduced Planck constant) and Δp (momentum > deviation), which arguably is meaningful not only to authors but also > code consumers. > ⊗ may seem foreign to most Physics undergraduates, but its meaning is > no doubt *universal* among quantum technology practitioners. Mathematical symbols are not namespaced and extremely heavily overloaded. > I appreciate if anyone could provide an example or scenario on code > consumers of a quantum related Go package finding it hard to read σX > as the Pauli X matrix or ⊗ as the tensor product. > In other words, within a specific domain, judiciously chosen special > symbols actually help code readability. And, "within a specific domain" is the key concern here. > > Sorry if I may sound a bit absurd or combative (I'm sincerely not), > but I am just believing that laying out concrete details and examples > helps make decisions whether pro or con. We have a model where this has been done, Julia. Spelunking Julia code is a nightmare because of they allow this kind of thing. Good for small, throw-away code-bases, not so much for large long lived ones. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/5ab683a2281d64d25045ea412b8277793d94f03d.camel%40kortschak.io.