Mastodon Skip to content
  • Home
  • Aktuell
  • Tags
  • Über dieses Forum
Einklappen
Grafik mit zwei überlappenden Sprechblasen, eine grün und eine lila.
Abspeckgeflüster – Forum für Menschen mit Gewicht(ung)

Kostenlos. Werbefrei. Menschlich. Dein Abnehmforum.

  1. Home
  2. Uncategorized
  3. People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

Geplant Angeheftet Gesperrt Verschoben Uncategorized
37 Beiträge 26 Kommentatoren 0 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

    People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

    girgias@phpc.socialG This user is from outside of this forum
    girgias@phpc.socialG This user is from outside of this forum
    girgias@phpc.social
    schrieb zuletzt editiert von
    #16

    @emmatyping PHP also doesn't have a problem comparing them!

    1 Antwort Letzte Antwort
    0
    • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

      People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

      0x4d6165@wanderingwires.net0 This user is from outside of this forum
      0x4d6165@wanderingwires.net0 This user is from outside of this forum
      0x4d6165@wanderingwires.net
      schrieb zuletzt editiert von
      #17
      @emmatyping is this just comparing their place on the Unicode table?
      emmatyping@hachyderm.ioE 1 Antwort Letzte Antwort
      0
      • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

        People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

        petealexharris@mastodon.scotP This user is from outside of this forum
        petealexharris@mastodon.scotP This user is from outside of this forum
        petealexharris@mastodon.scot
        schrieb zuletzt editiert von
        #18

        @emmatyping
        Well, it's not a statically-typed language. In Rust you'd have to define some kind of Fruit trait.

        emmatyping@hachyderm.ioE 1 Antwort Letzte Antwort
        0
        • 0x4d6165@wanderingwires.net0 0x4d6165@wanderingwires.net
          @emmatyping is this just comparing their place on the Unicode table?
          emmatyping@hachyderm.ioE This user is from outside of this forum
          emmatyping@hachyderm.ioE This user is from outside of this forum
          emmatyping@hachyderm.io
          schrieb zuletzt editiert von
          #19

          @0x4d6165 Yup! red apple is U+1F34E, while tangerine is U+1F34A, so red apple compares greater than tangerine!

          1 Antwort Letzte Antwort
          0
          • petealexharris@mastodon.scotP petealexharris@mastodon.scot

            @emmatyping
            Well, it's not a statically-typed language. In Rust you'd have to define some kind of Fruit trait.

            emmatyping@hachyderm.ioE This user is from outside of this forum
            emmatyping@hachyderm.ioE This user is from outside of this forum
            emmatyping@hachyderm.io
            schrieb zuletzt editiert von
            #20

            @petealexharris On the contrary, it just works in Rust

            https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=4424cfb379596c5477ad2a3ee738774b

            petealexharris@mastodon.scotP 1 Antwort Letzte Antwort
            0
            • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

              People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

              vampirdaddy@chaos.socialV This user is from outside of this forum
              vampirdaddy@chaos.socialV This user is from outside of this forum
              vampirdaddy@chaos.social
              schrieb zuletzt editiert von
              #21

              @emmatyping
              That's not python - with 3.14 it's pi-thon 🤪

              enobacon@urbanists.socialE 1 Antwort Letzte Antwort
              0
              • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                rbran@infosec.exchangeR This user is from outside of this forum
                rbran@infosec.exchangeR This user is from outside of this forum
                rbran@infosec.exchange
                schrieb zuletzt editiert von
                #22

                @emmatyping yep, rust agree:

                1 Antwort Letzte Antwort
                0
                • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                  @petealexharris On the contrary, it just works in Rust

                  https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=4424cfb379596c5477ad2a3ee738774b

                  petealexharris@mastodon.scotP This user is from outside of this forum
                  petealexharris@mastodon.scotP This user is from outside of this forum
                  petealexharris@mastodon.scot
                  schrieb zuletzt editiert von
                  #23

                  @emmatyping
                  Thanks for fact-checking my joke, I nearly encouraged people to learn how Rust traits work on a Saturday night, but you saved them.

                  1 Antwort Letzte Antwort
                  0
                  • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                    People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                    studiop@fosstodon.orgS This user is from outside of this forum
                    studiop@fosstodon.orgS This user is from outside of this forum
                    studiop@fosstodon.org
                    schrieb zuletzt editiert von
                    #24

                    @emmatyping this is why Python is the best

                    1 Antwort Letzte Antwort
                    0
                    • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                      People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                      csolisr@hub.azkware.netC This user is from outside of this forum
                      csolisr@hub.azkware.netC This user is from outside of this forum
                      csolisr@hub.azkware.net
                      schrieb zuletzt editiert von
                      #25
                      Python version 3.14, or as I like to call it, π-thon
                      1 Antwort Letzte Antwort
                      0
                      • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                        People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                        rusty_shackleford@colorlessgreenvoid.comR This user is from outside of this forum
                        rusty_shackleford@colorlessgreenvoid.comR This user is from outside of this forum
                        rusty_shackleford@colorlessgreenvoid.com
                        schrieb zuletzt editiert von
                        #26
                        @emmatyping
                        If this were javascript, itd be in a compilation about why javascript is a bad language.
                        1 Antwort Letzte Antwort
                        0
                        • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                          People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                          mozziediver@mastodon.socialM This user is from outside of this forum
                          mozziediver@mastodon.socialM This user is from outside of this forum
                          mozziediver@mastodon.social
                          schrieb zuletzt editiert von
                          #27

                          @emmatyping But not by much? For the sciency answer ...
                          https://improbable.com/classics/apples-and-oranges-a-comparison/

                          1 Antwort Letzte Antwort
                          0
                          • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                            People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                            knapjack@snac.gruntle.ccK This user is from outside of this forum
                            knapjack@snac.gruntle.ccK This user is from outside of this forum
                            knapjack@snac.gruntle.cc
                            schrieb zuletzt editiert von
                            #28
                            I'm not certain that the correct answer, though. 🤔
                            1 Antwort Letzte Antwort
                            0
                            • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                              People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                              qlp@linh.socialQ This user is from outside of this forum
                              qlp@linh.socialQ This user is from outside of this forum
                              qlp@linh.social
                              schrieb zuletzt editiert von
                              #29

                              @emmatyping I think some people might riot when they see this comparison.

                              michael@social.chrisco.meM fruitcakesareyum@mastodon.socialF 2 Antworten Letzte Antwort
                              0
                              • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                                People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                                leonardof@bertha.socialL This user is from outside of this forum
                                leonardof@bertha.socialL This user is from outside of this forum
                                leonardof@bertha.social
                                schrieb zuletzt editiert von
                                #30

                                @emmatyping I don't really know how to write even basic #Python scripts anymore, but I still miss being able compare strings like that, or concatenating them with "+", when I'm working with #RStats

                                1 Antwort Letzte Antwort
                                0
                                • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                                  People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                                  misterdave@tilde.zoneM This user is from outside of this forum
                                  misterdave@tilde.zoneM This user is from outside of this forum
                                  misterdave@tilde.zone
                                  schrieb zuletzt editiert von
                                  #31

                                  @emmatyping node 24.5 agrees

                                  1 Antwort Letzte Antwort
                                  0
                                  • qlp@linh.socialQ qlp@linh.social

                                    @emmatyping I think some people might riot when they see this comparison.

                                    michael@social.chrisco.meM This user is from outside of this forum
                                    michael@social.chrisco.meM This user is from outside of this forum
                                    michael@social.chrisco.me
                                    schrieb zuletzt editiert von
                                    #32

                                    @qlp @emmatyping i love it

                                    1 Antwort Letzte Antwort
                                    0
                                    • vampirdaddy@chaos.socialV vampirdaddy@chaos.social

                                      @emmatyping
                                      That's not python - with 3.14 it's pi-thon 🤪

                                      enobacon@urbanists.socialE This user is from outside of this forum
                                      enobacon@urbanists.socialE This user is from outside of this forum
                                      enobacon@urbanists.social
                                      schrieb zuletzt editiert von
                                      #33

                                      @vampirdaddy @emmatyping do future versions of pi-thon just keep appending digits of pi to the version number?

                                      1 Antwort Letzte Antwort
                                      0
                                      • qlp@linh.socialQ qlp@linh.social

                                        @emmatyping I think some people might riot when they see this comparison.

                                        fruitcakesareyum@mastodon.socialF This user is from outside of this forum
                                        fruitcakesareyum@mastodon.socialF This user is from outside of this forum
                                        fruitcakesareyum@mastodon.social
                                        schrieb zuletzt editiert von
                                        #34

                                        @qlp @emmatyping

                                        Finally us dog people get a W.

                                        1 Antwort Letzte Antwort
                                        0
                                        • nazokiyoubinbou@urusai.socialN nazokiyoubinbou@urusai.social

                                          @emmatyping This is so horrendously wrong...

                                          thomastc@mastodon.gamedev.placeT This user is from outside of this forum
                                          thomastc@mastodon.gamedev.placeT This user is from outside of this forum
                                          thomastc@mastodon.gamedev.place
                                          schrieb zuletzt editiert von
                                          #35

                                          @nazokiyoubinbou @emmatyping Technically I think the result depends on locale. So you could create a custom locale just for your tastes!

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen



                                          Copyright (c) 2025 abSpecktrum (@abspecklog@fedimonster.de)

                                          Erstellt mit Schlaflosigkeit, Kaffee, Brokkoli & ♥

                                          Impressum | Datenschutzerklärung | Nutzungsbedingungen

                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Über dieses Forum