Emoji snapshot methods
- Lingua principale
- Kotlin
- Stelle
- 101
- Fork
- 18
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
We will never ship this by default, but it might make sense to do something like what [blowdryer did for 干](https://github.com/diffplug/blowdryer?tab=readme-ov-file#chinese-for-dry-%E5%B9%B2)
- `com.diffplug.selfie:selfie-kotlin-emoji`
- `expectSelfie` -> :mag_right:
- this would only work in kotlin, and it would have to be bracketed with double-backticks, but it stands out visually
- Unicode has both :mag_right: and 🔍, doesn't really matter which, but we should not do both and `:mag_right:` works in GitHub but `:mag_left:` doesn't so that's the tiebreaker
- another option is `expectSelfie` -> 📷
- `com.diffplug.selfie:selfie-ku`
- `expectSelfie` -> 𐌒
- this is using the old italic letter ku, which would work in java and kotlin
The code would look something like this
```kotlin
object 𐌒 {
@JvmStatic fun 𐌒(actual: String) = Selfie.expectSelfie(actual)
@JvmStatic fun 𐌒(actual: Int) = Selfie.expectSelfie(actual)
@JvmStatic fun 𐌒(actual: Boolean) = Selfie.expectSelfie(actual)
}
```
It's cute, but it's very easy for people to do themselves in their own projects, and it's probably a bad idea so we shouldn't encourage it by publishing artifacts for it.
The :mag_right: has a tiny sliver of functionality, the color does standout just a bit, seems appropriate.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.