![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/ca9b0de3-205f-47ca-a620-5fbddb680695.png)
I’m not sure this is a fair comparison, since this is only coming to RCS and not SMS my (completely unsubstantiated) guess would be that this is a message protocol issue.
On the other hand Signal is an encrypted internet messaging service and editing internet messages has been easy for everyone not named twitter for years.
To do quick and simple explanations:
var test int = 0
assign an int, var = let in rust land
This is basically an inferred assignment e.g.
a := "hello world"
The compiler will know this is a string without me explicitly saying
func (u User) hi() {}
To return to rust land this is a function that implements User. In OOP land we would say that this function belongs to the user class. In Go, just like in rust we don’t say if a function returns void so this function is for User objects and doesn’t return anything:
func (u User) hi(s string) string {}
If it took in a string and returned a string it would look like this.
map[string] int {}
I will give you that this syntax is a bit odd but this is just a hashmap/dictionary where the key is a string and the value is an int