you are viewing a single comment's thread
view the rest of the comments
[–] 37 points 3 years ago* (last edited 3 years ago) (6 children)

It would be great to use some emojis in coding.

Imagine how much more readable it would be if you could break a loop with 💀 or return true with 👍. Or use ❓for ifs, or ↔️ for switch (the emoji didn't work for that one). Or use an emoji to represent a custom object?

Maybe the ECMA should get on that!

Edit: I guess you can use emojis for custom objects in js.

Edit 2: ➡ for console.log

  • source
  • hideshow 6 child comments
  • [–] 2 points 3 years ago

    Programming typefaces with ligatures are a step in this direction.

    I would try this in something like Haskell, where some of the more exotic character sequences get tricky to recognise.

    Unison might be the best language to test this in. Having identifiers separate from the actual definitions, you can call anything whatever you want.

  • source
  • parent