Skip to content

Emoji snapshot methodsΒ #53

Open
Open
@nedtwigg

Description

@nedtwigg

We will never ship this by default, but it might make sense to do something like what blowdryer did for εΉ²

  • com.diffplug.selfie:selfie-kotlin-emoji
    • expectSelfie -> πŸ”Ž
    • this would only work in kotlin, and it would have to be bracketed with double-backticks, but it stands out visually
    • Unicode has both πŸ”Ž 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

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 πŸ”Ž has a tiny sliver of functionality, the color does standout just a bit, seems appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions