# Fun with Unicode: TemplateᐸTᐳ syntax and more

**URL:** https://discourse.julialang.org/t/fun-with-unicode-template-t-syntax-and-more/117995
**Category:** General Usage
**Tags:** syntax, unicode
**Created:** [August 9, 2024, 12:02pm UTC](https://discourse.julialang.org/t/fun-with-unicode-template-t-syntax-and-more/117995 "2024-08-09T12:02:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [August 9, 2024, 12:02pm UTC](https://discourse.julialang.org/t/fun-with-unicode-template-t-syntax-and-more/117995/1 "2024-08-09T12:02:09Z")

</div>

[Inspired by a Go example](https://social.treehouse.systems/@Elizafox/112930848138408866):

```julia
julia> const VectorᐸIntᐳ = Vector{Int}
Vector{Int64} (alias for Array{Int64, 1})

julia> [1,2,3] isa VectorᐸIntᐳ
true

julia> x = 2
2

julia> xᐸ3 = x<3
true

julia> xᐸ3+4
5

julia> ᐸ = >
> (generic function with 3 methods)

julia> findfirst(ᐸ(3), [1,2,3,4,5])
4

```

via [Unified Canadian Aboriginal Syllabics](https://en.wikipedia.org/wiki/Unified_Canadian_Aboriginal_Syllabics) characters [U+1433 `ᐳ`](https://www.compart.com/en/unicode/U+1433) and [U+1438 `ᐸ`](https://www.compart.com/en/unicode/U+1438) (valid identifiers in most modern programming languages, including Python 3, because they are category Lo “Letter, Other”).

![235a0v](https://global.discourse-cdn.com/julialang/original/3X/3/0/305532abf94734200046ba8ee8b1b06293aae162.gif)

---

<div class="post-metadata">

### Author: ![screw\_dog](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/screw_dog/32/48119_2.png) [@screw\_dog](https://discourse.julialang.org/u/screw_dog)
#### Post date: [August 9, 2024, 12:13pm UTC](https://discourse.julialang.org/t/fun-with-unicode-template-t-syntax-and-more/117995/2 "2024-08-09T12:13:02Z")

</div>

Cursed examples using `'\U037E' == ';'` are left as an exercise to the reader.

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [August 9, 2024, 12:13pm UTC](https://discourse.julialang.org/t/fun-with-unicode-template-t-syntax-and-more/117995/3 "2024-08-09T12:13:52Z")

</div>

> [@screw\_dog](#):
>
> Cursed examples using `'\U037E' == ';'` are left as an exercise to the reader.

(That’s not valid in Julia identifiers because it is in category Po “Punctuation, Other”.)

---

<div class="post-metadata">

### Author: ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)
#### Post date: [August 9, 2024, 12:19pm UTC](https://discourse.julialang.org/t/fun-with-unicode-template-t-syntax-and-more/117995/4 "2024-08-09T12:19:20Z")

</div>

Better to use the (aptly-named) U+1434.

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [August 9, 2024, 12:24pm UTC](https://discourse.julialang.org/t/fun-with-unicode-template-t-syntax-and-more/117995/5 "2024-08-09T12:24:36Z")

</div>

> [@cormullion](#):
>
> Better to use the (aptly-named) U+1434.

Julia also supports U+1F4A9 for scatological programming (a vast advantage over Python 3, Go, and other languages, which typically do not allow emoji identifiers).
