This is perfectly valid PHP.
-
@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

-
@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 for more fun you can use variable names like "Α" (U+0391, Greek Capital Letter Alpha) that look exactly like ASCII characters in most fonts but are not.
-
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 less spectacularly, it also means you can name variables with any non-english accented characters.
-
@christianp @Edent I swear we'll move to 100% hieroglyphics before too long
@sol_hsa
Some people already communicate with hieroglyphs. -
@Edent Using emojis liberally would certainly be a good way to pollute training data for vibe-coding LLMs
-
J jeppe@uddannelse.social shared this topic