204

Thanks Apple. This is what we needed!

Comments
  • 9
    Why Apple? 🤔
  • 7
    This has been available in a lot of languages like Ruby, Julia, Java etc since long :)
  • 18
    This is nothing. There's even a language called Emojicode
  • 5
    With emoji it is stupid, sure.
    But i think it can be usefull with other symbol such math symbol(look at the pi example)
  • 5
    Having Unicode support in a language is a welcomed bonus, don't see a problem in that.
  • 13
    I can already see some frustrated dev declaring a var with the poo-emoji. :P
  • 5
    In the picture, line one of code for pie, do they have a special key for that or they copy it everytime they want to use it 🤔
  • 13
    The Holy Grail of method / property naming is finding a string which is both concise and semantically describes what the thing is... For any developer working on a physics app, Δv is much easier to read than something like 'changeInVelocity', and carries much more meaning than 'dv'.

    Devs often need to do calculations for specific scientific fields like statistics, chemistry or finances. It can be useful to use common symbols from their naming conventions in your code for clarity.
  • 1
    Apple's best innovation in 2017: emojis everywhere, even in your source code.
  • 22
    In case unreadable code was an issue before...
  • 10
    Imagine debugging code with emojis.

    Why is this 💰 being set with 🔥 and what is this 🐄 being passed in this 🏳️ function returning a 🐈
  • 1
    🤢🤢🤢Eew!
  • 2
    @paco and what are we supposed to understand from the code you posted 😨
  • 2
    @paco serious question: you don't know by accident what language that is? It looks quite interesting
  • 1
    @Krokoklemme I was under the impression it was Swift, but I've actually never used Swift... 😳
  • 1
    @paco now that you say it, that might actually be possible. I used Swift for a couple of days, didn't think bad of it. It just bothers me that it's not available on every platform :/
  • 1
    It is Swift.
  • 1
    What would we do without Swift? Oh yeah, be a couple years ahead of where we are now in technology
  • 2
    @gitpush on Linux do Ctrl+shift+u and then type the Unicode #. On Windows uh yea don't use Windows
  • 2
    @hitchhiker42 I'm slowly moving away luckily that I now do only mobile apps and no longer windows software 😌
Add Comment