1
Comments
  • 1
  • 1
  • 2
    @tosensei scared of getting hacked?
  • 1
  • 3
    0, I'm still on the first line of executing it. Maybe I'll change my answer later.
  • 8
    Syntax Error: A. on line 6
  • 0
    @tosensei python's dope, I write everything in it these days
  • 2
    Wait are you asking before or after the while loop?
  • 2
    x has sentimental value.
  • 2
    @tosensei indentation for new lines works very well.

    Import system is mediocre by todays standards. Not quite hell. Better than including headers, worse then using export statements.

    Speed hasn't been a factor in anything I've written in 10 years, and it rarely is for most developers. Computers are fast enough to deploy potato code without a second thought these days.

    Honestly the worst part of python is it's package management. Pip/pypi is garbage, and all the other replacements are "yet another package manager" that are only used in niche circles. Nothing better than assuming the import name is the library name and downloading cryptolockers into your product! Can't even search in the tool anymore because the servers are too overloaded with people checking that their dependencies aren't poisoned. It's a fucking shit show.
  • 2
    @lungdart python is good for scripts that run on your local machine only.
    For anything else, there are better tools.
  • 1
    @Lensflare I completely disagree with that.

    Django, flask, fastapi are amazing wsgi frameworks for server side web. If you need dynamic you can add your favorite js on top or use htmx.

    RPC on Python works very well. We use that internally as a control plane backend for our on prem network infrastructure management. CLI tools and scheduled jobs call into it.

    Many network devices use Python for their shells. We create in house network appliances that use Python for this.

    Some daemons are written in python. Mind you they can't be performance bottle necked, although with the GIL per interpreter, multithreaded works better now.

    There are entire ecosystems of ETL pipelines that use Python for their jobs.

    You are absolutely incorrect.
  • 0
    @tosensei don't blame Python for management decisions to force tech stacks.

    If you have a compute bottle necked algorithm, Python may not be the language for you (unless you know how to optimize this language)
  • 0
    @tosensei it's not the pythons communities fault your managers but hurt you.

    No, it's not performant. It's easy to read, write, and parse. Performance can be gained by using packages that hook into compiled libraries. Or if it's critical, use something else, or switch to a better interpreter (this is why js is so much faster, the interpreters are VERY good)

    It does have very good math and data science packages. And they are with bragging about. Other languages absolutely have equivalent tooling at this point. That's not a downside.
  • 1
    01110010
Add Comment