This is perfectly valid PHP.
-
@Edent I realised recently that emoji are valid CSS class names, which meant I didn't have to make separate class name strings for a chart with elements labelled by emoji. So it definitely is useful!
@christianp yessssss!
-
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
You miss the opportunity to put emoji in the string, where presumably they're allowed too.
-
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
-
@christianp @Edent I swear we'll move to 100% hieroglyphics before too long
@sol_hsa @christianp @Edent oh god in hell. Why?!
Variable and function naming together with passed time was already ninth level of hell and with this… Good luck to decode that ”function 🤩🥸 (int
️, string 🫶) { … return 🥳; }” after few weeks (and hope you never meet it again after a month). -
@Edent I realised recently that emoji are valid CSS class names, which meant I didn't have to make separate class name strings for a chart with elements labelled by emoji. So it definitely is useful!
-
@sol_hsa @christianp @Edent oh god in hell. Why?!
Variable and function naming together with passed time was already ninth level of hell and with this… Good luck to decode that ”function 🤩🥸 (int
️, string 🫶) { … return 🥳; }” after few weeks (and hope you never meet it again after a month).@jannepekkala @sol_hsa @christianp
How is that any worse than `activeFactoryFactoryBeanAnnotator()` or `sysRqIRQFudge()` or any of the other ridiculous names programmers give things?
-
@sol_hsa @christianp @Edent oh god in hell. Why?!
Variable and function naming together with passed time was already ninth level of hell and with this… Good luck to decode that ”function 🤩🥸 (int
️, string 🫶) { … return 🥳; }” after few weeks (and hope you never meet it again after a month).@jannepekkala @christianp @Edent All it takes is some vibe coder adding "only use emojis as symbols" in the command for lols..
-
@jannepekkala @sol_hsa @christianp
How is that any worse than `activeFactoryFactoryBeanAnnotator()` or `sysRqIRQFudge()` or any of the other ridiculous names programmers give things?
@Edent @sol_hsa @christianp well, it is same thing times 10. Also, unlike words, each of us understand emojis differently. For me, this means good job
, while for surprisingly many it means f**kng moron.But it is just my opinion and gladly (or sadly) I’m no longer actively coding outside my own projects. But when I was, we had rules how things was named (and it was useFullWordsInCamelCaseToDescribe) and no one spoke about ancient 80 char max line lenghts

But yeah, together with all that Vibing, there is no future for clean code anyhow. At least, finally some practical use case for LLMs

-
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
Code golfing with constructor property promotion:
(Less visual impact via less lines but basically the same)
-
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
@Edent this should be illegal
-
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
@Edent Great for code golf, absolute cancer in working code.
-
@Edent this should be illegal
@fxx_xxf BRB, passing a law to make it mandatory.
-
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
@Edent If we add music notes, we might finally realize that the Pyramids are just giant graphic equalizers, and we’ve spent 200 years treating them as a legacy architectural bug.
But the real question is: was the original score released under a Creative Commons license, or are we about to get a DMCA takedown notice from a Pharaoh?
-
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
@Edent I use a Ruby library called persistent-
, which makes flicking through my code that bit sparklier on occasion 
-
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
@Edent Why use monospaced font for coding? The days of Commodore 64 are long gone …
-
@Edent If we add music notes, we might finally realize that the Pyramids are just giant graphic equalizers, and we’ve spent 200 years treating them as a legacy architectural bug.
But the real question is: was the original score released under a Creative Commons license, or are we about to get a DMCA takedown notice from a Pharaoh?
@dotyk I'd read the hell out of that novel!
-
@dotyk I'd read the hell out of that novel!
@Edent So I've come up with a subplot for my next book
-
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
@Edent MacOS is "helpfully" inverting the colours of all the emoji in dark mode, which took a moment for my brain to process

-
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
@Edent i mean honestly why shouldn't it work
️ -
This is perfectly valid PHP.
If your programming language doesn't support emoji, it is going to be left behind.
https://shkspr.mobi/blog/2024/04/where-you-can-and-cant-use-emoji-in-php/
@Edent I once accidentally discovered you can use Cyrillic letters in Java, and later did that on purpose a couple times
