Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. This is perfectly valid PHP.

This is perfectly valid PHP.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
30 Indlæg 22 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • christianp@mathstodon.xyzC christianp@mathstodon.xyz

    @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@mastodon.gamedev.placeS This user is from outside of this forum
    sol_hsa@mastodon.gamedev.placeS This user is from outside of this forum
    sol_hsa@mastodon.gamedev.place
    wrote sidst redigeret af
    #5

    @christianp @Edent I swear we'll move to 100% hieroglyphics before too long

    jannepekkala@mementomori.socialJ pele@toki.socialP 2 Replies Last reply
    0
    • christianp@mathstodon.xyzC christianp@mathstodon.xyz

      @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!

      edent@mastodon.socialE This user is from outside of this forum
      edent@mastodon.socialE This user is from outside of this forum
      edent@mastodon.social
      wrote sidst redigeret af
      #6

      @christianp yessssss!

      1 Reply Last reply
      0
      • edent@mastodon.socialE edent@mastodon.social

        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/

        stuartyeates@cloudisland.nzS This user is from outside of this forum
        stuartyeates@cloudisland.nzS This user is from outside of this forum
        stuartyeates@cloudisland.nz
        wrote sidst redigeret af
        #7

        @Edent

        You miss the opportunity to put emoji in the string, where presumably they're allowed too.

        1 Reply Last reply
        0
        • edent@mastodon.socialE edent@mastodon.social

          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/

          m@martinh.netM This user is from outside of this forum
          m@martinh.netM This user is from outside of this forum
          m@martinh.net
          wrote sidst redigeret af
          #8

          @Edent TIL: #EmojiCode https://www.emojicode.org/

          1 Reply Last reply
          0
          • sol_hsa@mastodon.gamedev.placeS sol_hsa@mastodon.gamedev.place

            @christianp @Edent I swear we'll move to 100% hieroglyphics before too long

            jannepekkala@mementomori.socialJ This user is from outside of this forum
            jannepekkala@mementomori.socialJ This user is from outside of this forum
            jannepekkala@mementomori.social
            wrote sidst redigeret af
            #9

            @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@mastodon.socialE sol_hsa@mastodon.gamedev.placeS 2 Replies Last reply
            0
            • christianp@mathstodon.xyzC christianp@mathstodon.xyz

              @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!

              iamdtms@mas.toI This user is from outside of this forum
              iamdtms@mas.toI This user is from outside of this forum
              iamdtms@mas.to
              wrote sidst redigeret af
              #10

              @christianp @Edent 2024? https://codepen.io/iamdtms/pen/WNvqPPB

              1 Reply Last reply
              0
              • jannepekkala@mementomori.socialJ jannepekkala@mementomori.social

                @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@mastodon.socialE This user is from outside of this forum
                edent@mastodon.socialE This user is from outside of this forum
                edent@mastodon.social
                wrote sidst redigeret af
                #11

                @jannepekkala @sol_hsa @christianp

                How is that any worse than `activeFactoryFactoryBeanAnnotator()` or `sysRqIRQFudge()` or any of the other ridiculous names programmers give things?

                jannepekkala@mementomori.socialJ 1 Reply Last reply
                0
                • jannepekkala@mementomori.socialJ jannepekkala@mementomori.social

                  @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).

                  sol_hsa@mastodon.gamedev.placeS This user is from outside of this forum
                  sol_hsa@mastodon.gamedev.placeS This user is from outside of this forum
                  sol_hsa@mastodon.gamedev.place
                  wrote sidst redigeret af
                  #12

                  @jannepekkala @christianp @Edent All it takes is some vibe coder adding "only use emojis as symbols" in the command for lols..

                  1 Reply Last reply
                  0
                  • edent@mastodon.socialE edent@mastodon.social

                    @jannepekkala @sol_hsa @christianp

                    How is that any worse than `activeFactoryFactoryBeanAnnotator()` or `sysRqIRQFudge()` or any of the other ridiculous names programmers give things?

                    jannepekkala@mementomori.socialJ This user is from outside of this forum
                    jannepekkala@mementomori.socialJ This user is from outside of this forum
                    jannepekkala@mementomori.social
                    wrote sidst redigeret af
                    #13

                    @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 😒

                    1 Reply Last reply
                    0
                    • edent@mastodon.socialE edent@mastodon.social

                      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/

                      zimzat@mastodon.socialZ This user is from outside of this forum
                      zimzat@mastodon.socialZ This user is from outside of this forum
                      zimzat@mastodon.social
                      wrote sidst redigeret af
                      #14

                      Code golfing with constructor property promotion:

                      https://3v4l.org/MQlNZ#vnull

                      (Less visual impact via less lines but basically the same)

                      1 Reply Last reply
                      0
                      • edent@mastodon.socialE edent@mastodon.social

                        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/

                        fxx_xxf@muenchen.socialF This user is from outside of this forum
                        fxx_xxf@muenchen.socialF This user is from outside of this forum
                        fxx_xxf@muenchen.social
                        wrote sidst redigeret af
                        #15

                        @Edent this should be illegal

                        edent@mastodon.socialE 1 Reply Last reply
                        0
                        • edent@mastodon.socialE edent@mastodon.social

                          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/

                          woe2you@beige.partyW This user is from outside of this forum
                          woe2you@beige.partyW This user is from outside of this forum
                          woe2you@beige.party
                          wrote sidst redigeret af
                          #16

                          @Edent Great for code golf, absolute cancer in working code.

                          1 Reply Last reply
                          0
                          • fxx_xxf@muenchen.socialF fxx_xxf@muenchen.social

                            @Edent this should be illegal

                            edent@mastodon.socialE This user is from outside of this forum
                            edent@mastodon.socialE This user is from outside of this forum
                            edent@mastodon.social
                            wrote sidst redigeret af
                            #17

                            @fxx_xxf BRB, passing a law to make it mandatory.

                            stuartyeates@cloudisland.nzS 1 Reply Last reply
                            0
                            • edent@mastodon.socialE edent@mastodon.social

                              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/

                              dotyk@mastodon.socialD This user is from outside of this forum
                              dotyk@mastodon.socialD This user is from outside of this forum
                              dotyk@mastodon.social
                              wrote sidst redigeret af
                              #18

                              @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?

                              edent@mastodon.socialE 1 Reply Last reply
                              0
                              • edent@mastodon.socialE edent@mastodon.social

                                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/

                                denny@boing.worldD This user is from outside of this forum
                                denny@boing.worldD This user is from outside of this forum
                                denny@boing.world
                                wrote sidst redigeret af
                                #19

                                @Edent I use a Ruby library called persistent-💎, which makes flicking through my code that bit sparklier on occasion 😆

                                1 Reply Last reply
                                0
                                • edent@mastodon.socialE edent@mastodon.social

                                  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/

                                  martinrust@infosec.exchangeM This user is from outside of this forum
                                  martinrust@infosec.exchangeM This user is from outside of this forum
                                  martinrust@infosec.exchange
                                  wrote sidst redigeret af
                                  #20

                                  @Edent Why use monospaced font for coding? The days of Commodore 64 are long gone …

                                  1 Reply Last reply
                                  0
                                  • dotyk@mastodon.socialD dotyk@mastodon.social

                                    @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?

                                    edent@mastodon.socialE This user is from outside of this forum
                                    edent@mastodon.socialE This user is from outside of this forum
                                    edent@mastodon.social
                                    wrote sidst redigeret af
                                    #21

                                    @dotyk I'd read the hell out of that novel!

                                    dotyk@mastodon.socialD 1 Reply Last reply
                                    0
                                    • edent@mastodon.socialE edent@mastodon.social

                                      @dotyk I'd read the hell out of that novel!

                                      dotyk@mastodon.socialD This user is from outside of this forum
                                      dotyk@mastodon.socialD This user is from outside of this forum
                                      dotyk@mastodon.social
                                      wrote sidst redigeret af
                                      #22

                                      @Edent So I've come up with a subplot for my next book

                                      1 Reply Last reply
                                      0
                                      • edent@mastodon.socialE edent@mastodon.social

                                        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/

                                        owenblacker@dataare.coolO This user is from outside of this forum
                                        owenblacker@dataare.coolO This user is from outside of this forum
                                        owenblacker@dataare.cool
                                        wrote sidst redigeret af
                                        #23

                                        @Edent MacOS is "helpfully" inverting the colours of all the emoji in dark mode, which took a moment for my brain to process 😅

                                        1 Reply Last reply
                                        0
                                        • edent@mastodon.socialE edent@mastodon.social

                                          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/

                                          kate@social.treehouse.systemsK This user is from outside of this forum
                                          kate@social.treehouse.systemsK This user is from outside of this forum
                                          kate@social.treehouse.systems
                                          wrote sidst redigeret af
                                          #24

                                          @Edent i mean honestly why shouldn't it work 🤷‍♀️

                                          1 Reply Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Har du ikke en konto? Tilmeld

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper