1
Comments
  • 1
  • 1
  • 9
    X is NULL because i refused do execute your code.
  • 3
    @tosensei scared of getting hacked?
  • 3
    @MammaNeedHummus no. look at the syntax.

    i'm just strongly opposed to giving shit-tier languages like python (whos only merit is "not being javascript") any room.
  • 1
  • 4
    0, I'm still on the first line of executing it. Maybe I'll change my answer later.
  • 9
    Syntax Error: A. on line 6
  • 0
    @tosensei python's dope, I write everything in it these days
  • 3
    All the women chose the D
  • 2
    Wait are you asking before or after the while loop?
  • 2
    x has sentimental value.
  • 2
    @lungdart oh, poor you.

    i grant you, the language has a certain elegance (if you can overcome the terrible choice of using indentation instead of braces), but the import system is hell, performance sucks worse than a vacuum (everything that python does quickly it does by callilng libraries built in c), and the version incompatibility between even minor updates is laughable.
  • 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.
  • 2
    @lungdart "Import system is mediocre by todays standards. Not quite hell. "

    the only worse one i've seen is [insert any solution of javascript].

    even classic asp's vbscript-includes are better.

    and as for speed: we had a project where we were forced to use python, and a feature that even in JS only took a few seconds to render needed minutes in python for the same algorithm.
  • 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)
  • 1
    @lungdart "If you have a compute bottle necked algorithm, Python may not be the language for you"

    or in other terms: "python isn't very performant" ;)

    but no. the fault is with the python community always hyping it for "it's great for scientific calculations".... which is all that managers hear, which is why they MUST HAVE it.
  • 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