Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I give up

I give up

Scheduled Pinned Locked Moved The Lounge
python
19 Posts 10 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Jorgen Andersson

    I'm expecting a series of post about a new fancy bindings generator for Python in the near future. :laugh:

    Wrong is evil and must be defeated. - Jeff Ello

    H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #7

    The only reason I'd ever use Python is to show someone why they should never use python.

    To err is human. Fortune favors the monsters.

    1 Reply Last reply
    0
    • M megaadam

      I guess you mean that you hate their elephanting micropython hack. But you wrote that you hate Python. That might not exactly be where blame is deserved... This is the first time I hear about micropython. Perhaps Cython seems to an alternative that creates readable cod? Cython: C-Extensions for Python[^] And many numerical standard libraries are written in C. Maybe creating your own bindings is easy? 1. Extending Python with C or C++ — Python 3.10.7 documentation[^] But then I just realise that maybe the LVGL-folks have painted you into the micro... corner :sigh:

      "If we don't change direction, we'll end up where we're going"

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #8

      Python always deserves blame. It was written by someone who didn't understand a simple, obvious concept: When you make whitespace part of your program, it means part of your source code is invisible. Anyone that stupid should not be allowed near a computer. Edit: Specifically, I blame python because if it didn't exist this would have never been a problem. Edit 2: The language you mention shouldn't exist, but does anyway. It doesn't run anywhere that matters.

      To err is human. Fortune favors the monsters.

      Kornfeld Eliyahu PeterK M B M 4 Replies Last reply
      0
      • CPalliniC CPallini

        Quote:

        The STUPID MICROPYTHON AUTOMAGIC BINDINGS GENERATORS FAIL

        Quote:

        Nobody knows how they work. Nobody knows why.

        Another adventure is waiting for you! :laugh: As side note, Lua binding mechanism is crystal clear.

        "In testa che avete, Signor di Ceprano?" -- Rigoletto

        H Offline
        H Offline
        honey the codewitch
        wrote on last edited by
        #9

        No. And yeah, generating Lua bindings by parsing C would be just as bad as doing it with python.

        To err is human. Fortune favors the monsters.

        1 Reply Last reply
        0
        • H honey the codewitch

          Python always deserves blame. It was written by someone who didn't understand a simple, obvious concept: When you make whitespace part of your program, it means part of your source code is invisible. Anyone that stupid should not be allowed near a computer. Edit: Specifically, I blame python because if it didn't exist this would have never been a problem. Edit 2: The language you mention shouldn't exist, but does anyway. It doesn't run anywhere that matters.

          To err is human. Fortune favors the monsters.

          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu Peter
          wrote on last edited by
          #10

          honey the codewitch wrote:

          When you make whitespace part of your program, it means part of your source code is invisible.

          Unfortunately I can upvote it only once - otherwise I would make you a CP millionaire...

          "Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid." ― Albert Einstein

          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

          1 Reply Last reply
          0
          • H honey the codewitch

            Python always deserves blame. It was written by someone who didn't understand a simple, obvious concept: When you make whitespace part of your program, it means part of your source code is invisible. Anyone that stupid should not be allowed near a computer. Edit: Specifically, I blame python because if it didn't exist this would have never been a problem. Edit 2: The language you mention shouldn't exist, but does anyway. It doesn't run anywhere that matters.

            To err is human. Fortune favors the monsters.

            M Offline
            M Offline
            megaadam
            wrote on last edited by
            #11

            Since the Soapbox is closed I am not entering the War on Python, on either side... But I was referring to your specific complaint&blame regarding the micropython toolchain forking up your code. That is clearly a micropython blunder. Anyway, what happened to all your praise for this Gabor-dude, he appears to fancy the Python-concept?

            "If we don't change direction, we'll end up where we're going"

            H 1 Reply Last reply
            0
            • M megaadam

              Since the Soapbox is closed I am not entering the War on Python, on either side... But I was referring to your specific complaint&blame regarding the micropython toolchain forking up your code. That is clearly a micropython blunder. Anyway, what happened to all your praise for this Gabor-dude, he appears to fancy the Python-concept?

              "If we don't change direction, we'll end up where we're going"

              H Offline
              H Offline
              honey the codewitch
              wrote on last edited by
              #12

              Well, he's not the one that wrote the build scripts, and I'm going to be charitable and assume the Micropython bindings were someone else's contribution. I blame Python. Always Python because the language should not exist, and were it not for it, MicroPython would not exist, and without that my build issues would go away. Basically Python is why I'm such an ardent proponent of birth control. One condom could have prevented this. Edit: Yeah this isn't soapbox, and here I am ranting. Shame on me.

              To err is human. Fortune favors the monsters.

              1 Reply Last reply
              0
              • H honey the codewitch

                As if I needed another reason to hate python, and the fact that there are people out there that actually like it. I've been trying to check my lightweight TTF code into the LVGL master branch. I have been working at it for days - far longer than it took me to write the actual code. The STUPID MICROPYTHON AUTOMAGIC BINDINGS GENERATORS FAIL Nobody knows how they work. Nobody knows why. They modify my friggin code. They parse it and MODIFY IT. And nobody knows how it works. I finally told them sorry, until they drop support for micropython or start writing their bindings by hand I can't support their codebase. So I am not a contributor to LVGL. If you're upset about it (I know I am), talk to them. I already have. :mad:

                To err is human. Fortune favors the monsters.

                P Offline
                P Offline
                Prahlad Yeri
                wrote on last edited by
                #13

                Python used to be actually great in the 2.x days when Guido used to be the benevolent leader. Somewhere down the line, I don't know what happened but they lost the track along the 3.x path. No doubt, Python has a lot of mind-blowing stuff like nltk, django, flask, etc. but that's all thanks to the ecosystem! Core python has only gotten slower and slower since 3.x without getting any benefits in exchange for that slowness. There is a lot of scope in that dynamic language though. With some effort, they can probably make it perform on par with at least PHP or Java, if not C#.

                H 1 Reply Last reply
                0
                • H honey the codewitch

                  Python always deserves blame. It was written by someone who didn't understand a simple, obvious concept: When you make whitespace part of your program, it means part of your source code is invisible. Anyone that stupid should not be allowed near a computer. Edit: Specifically, I blame python because if it didn't exist this would have never been a problem. Edit 2: The language you mention shouldn't exist, but does anyway. It doesn't run anywhere that matters.

                  To err is human. Fortune favors the monsters.

                  B Offline
                  B Offline
                  BillWoodruff
                  wrote on last edited by
                  #14

                  honey the codewitch wrote:

                  When you make whitespace part of your program, it means part of your source code is invisible. Anyone that stupid should not be allowed near a computer.

                  Amen !

                  «The mind is not a vessel to be filled but a fire to be kindled» Plutarch

                  1 Reply Last reply
                  0
                  • P Prahlad Yeri

                    Python used to be actually great in the 2.x days when Guido used to be the benevolent leader. Somewhere down the line, I don't know what happened but they lost the track along the 3.x path. No doubt, Python has a lot of mind-blowing stuff like nltk, django, flask, etc. but that's all thanks to the ecosystem! Core python has only gotten slower and slower since 3.x without getting any benefits in exchange for that slowness. There is a lot of scope in that dynamic language though. With some effort, they can probably make it perform on par with at least PHP or Java, if not C#.

                    H Offline
                    H Offline
                    honey the codewitch
                    wrote on last edited by
                    #15

                    I disagree. Programs that have invisible source code belong in the trash. Python programs require invisible source code. Therefore Python belongs in the trash.

                    To err is human. Fortune favors the monsters.

                    P J 2 Replies Last reply
                    0
                    • H honey the codewitch

                      I disagree. Programs that have invisible source code belong in the trash. Python programs require invisible source code. Therefore Python belongs in the trash.

                      To err is human. Fortune favors the monsters.

                      P Offline
                      P Offline
                      Prahlad Yeri
                      wrote on last edited by
                      #16

                      honey the codewitch wrote:

                      Programs that have invisible source code belong in the trash.

                      It all depends on the design and robustness of the language or runtime though. Java web programming, for example, sits on many layers of invisible code such as JVM, Servlets, J2EE/JSP, Spring, etc. and yet it performs amazingly fast and used throughout the enterprise! By your logic, it must be pathetically slow due to these layers and dumped into trash by now.

                      H 1 Reply Last reply
                      0
                      • P Prahlad Yeri

                        honey the codewitch wrote:

                        Programs that have invisible source code belong in the trash.

                        It all depends on the design and robustness of the language or runtime though. Java web programming, for example, sits on many layers of invisible code such as JVM, Servlets, J2EE/JSP, Spring, etc. and yet it performs amazingly fast and used throughout the enterprise! By your logic, it must be pathetically slow due to these layers and dumped into trash by now.

                        H Offline
                        H Offline
                        honey the codewitch
                        wrote on last edited by
                        #17

                        It's like you didn't even read what I wrote. So I'll try again. I don't care about the speed of python. I care about INVISIBLE SOURCE CODE. Source code that you cannot see. Do you understand the concept? Such source code belongs in the trash, because it's unmaintainable because you cannot see it with your eyes. Similarly languages that *require* source code that you cannot see with your eyes (read: invisible source code) belong in the trash as well. Edit: I think I get where you misunderstand me. I didn't say anything about 3rd party libraries. I mean whitespace. Significant whitespace = invisible source code. When you make whitespace part of your program, it means part of your source code is invisible. Edit 2: I'm sorry I was hostile. I'm in an awful mood right now and probably shouldn't be here.

                        To err is human. Fortune favors the monsters.

                        1 Reply Last reply
                        0
                        • H honey the codewitch

                          Python always deserves blame. It was written by someone who didn't understand a simple, obvious concept: When you make whitespace part of your program, it means part of your source code is invisible. Anyone that stupid should not be allowed near a computer. Edit: Specifically, I blame python because if it didn't exist this would have never been a problem. Edit 2: The language you mention shouldn't exist, but does anyway. It doesn't run anywhere that matters.

                          To err is human. Fortune favors the monsters.

                          M Offline
                          M Offline
                          Mycroft Holmes
                          wrote on last edited by
                          #18

                          honey the codewitch wrote:

                          When you make whitespace part of your program, it means part of your source code is invisible

                          The first time some whippersnapper showed me that I vowed never to touch it. The bank decided to use Python extensively, I retired.

                          Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP

                          1 Reply Last reply
                          0
                          • H honey the codewitch

                            I disagree. Programs that have invisible source code belong in the trash. Python programs require invisible source code. Therefore Python belongs in the trash.

                            To err is human. Fortune favors the monsters.

                            J Offline
                            J Offline
                            jmaida
                            wrote on last edited by
                            #19

                            Python is a snake. A snake that can strangle you to death.

                            "A little time, a little trouble, your better day" Badfinger

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups