Why does this lang make?

Why does this lang make IQfy go crazy butthurt about it?

Beware Cat Shirt $21.68

Rise, Grind, Banana Find Shirt $21.68

Beware Cat Shirt $21.68

  1. 2 weeks ago
    Anonymous

    idk why it should. It's good for scripting and data

  2. 2 weeks ago
    Anonymous

    The type system isn't as explicit as with C/C++/C#/Java

    • 2 weeks ago
      Anonymous

      type hint solve that if you use a good IDE and/or good CI/CD

    • 2 weeks ago
      Anonymous

      Python's type parameterization is a pain in the ass for anything other than the simplest cases.
      But it's not drunk the crazyjuice like typescript.

      • 2 weeks ago
        Anonymous

        The number of times I wish the types were as manipulable as TypeScript grows day by day.

    • 2 weeks ago
      Anonymous

      How would you make it better without making it static?

      • 2 weeks ago
        Anonymous

        >how would you screw in a screw with a measuring tape
        Language server that has type annotations to emulate static typing

      • 2 weeks ago
        Anonymous

        sum types, type inference, gradual typing

        • 2 weeks ago
          Anonymous

          There are offline gradual typecheckers with limited type inference. No runtime semantics but pretty useful.
          You can use these to do sum types:
          from dataclasses import dataclass

          @dataclass
          class Ok[T]:
          value: T

          @dataclass
          class Err[T]:
          error: T

          type Result[T, E] = Ok[T] | Err[E]

          def parse_int(num: str) -> Result[int, ValueError]:
          try:
          return Ok(int(num))
          except ValueError as err:
          return Err(err)

          res = parse_int("10")

          print(res.value) # Linter error: Cannot access member "value" for type "Err[ValueError]"

          if isinstance(res, Ok):
          print(res.value)
          else:
          raise res.error

          match parse_int("foobar"):
          case Ok(value):
          print(value)
          case Err(error):
          raise error
          (Or if union types are good enough then you can just write int | ValueError.)

    • 2 weeks ago
      Anonymous

      >needing the language to handhold your typing

    • 2 weeks ago
      Anonymous

      And?

  3. 2 weeks ago
    Anonymous

    >you need a specific version of python3 to be able to run a project
    >python3 programs installed via package manager don't work because python3 got updated
    python threes suck
    >works on my machine on my project
    >just use docker
    :^)

    • 2 weeks ago
      Anonymous

      pipenv solved dat

      • 2 weeks ago
        Anonymous

        heres your answers, OP, if youre able to read between the lines (i write python for money and find it okayish but a total mess compared to ruby)

        >pipenv solved dat

        >just use docker
        Unironically based. What's the problem?

        >just use docker

        >venv
        no, you need pyenv
        >Provides support for per-project Python versions.

        >venv

        >venv
        no, you need pyenv
        >Provides support for per-project Python versions.

        >pyenv

        pyenv is not a virtual environment manager

        >pyenv is not a virtual environment manager

        • 2 weeks ago
          Anonymous

          >NOOOOO why isn't there a single government-enforced solution

          • 2 weeks ago
            Anonymous

            underappreciated post

    • 2 weeks ago
      Anonymous

      >just use docker
      Unironically based. What's the problem?

      • 2 weeks ago
        Anonymous

        Make sure to put it in the cloud with the kubernetes.

    • 2 weeks ago
      Anonymous

      its called virtual environments buddy, and if you really want to bundle a python interpreter version+modules together theres pyinstaller.

      there's a lot of things to shit on python for but how it handles modules and versions is not it

      • 2 weeks ago
        Anonymous

        >venv
        no, you need pyenv
        >Provides support for per-project Python versions.

        • 2 weeks ago
          Anonymous

          pyenv is not a virtual environment manager

    • 2 weeks ago
      Anonymous

      Hey
      Basically I'm just not gonna use python3
      I know.... UGH I know ..... I'm sorry!!!!!!!!!!!!!!!!!!!!
      It's just that I'm gonna use python2 is all
      HAHAHAHAHAHAHAAAHAHHAHAHAHAHA

    • 2 weeks ago
      Anonymous

      >uninstall Python
      >build version I want from source
      >install packages with pip as the root user

  4. 2 weeks ago
    Anonymous

    because it just werks

  5. 2 weeks ago
    Anonymous

    IQfy struggles with python because it is meant to be used with linux to comfortably manage the different venvs and interpretors, but most of IQfy are windozers so it causes them to struggle

    • 2 weeks ago
      Anonymous

      I dont think IQfy is actually that butthurt over it, all I see are threads like this saying "python is fine" and everyone conceding "yeah"

      what are you talking about? python is moronicly easy to set up on windows
      literally just download python from the website and click install on the vscode extension (and pip for modules obviously)
      I dont think any other language is as easy to set up

      can't even break out of nested loops

      condition2 = False
      for element in mylist:
      for e in element:
      if condition:
      condition2 = True
      break
      if condition2:
      break

      • 2 weeks ago
        Anonymous

        frick how do I do the code formatting thing
        obviously I meant

        condition2 = False
        for element in mylist:
        ....for e in element:
        ..........if condition:
        ...............condition2 = True
        ...............break
        .....if condition2:
        ..........break

      • 2 weeks ago
        Anonymous

        frick how do I do the code formatting thing
        obviously I meant

        condition2 = False
        for element in mylist:
        ....for e in element:
        ..........if condition:
        ...............condition2 = True
        ...............break
        .....if condition2:
        ..........break

        you shouldn't have to do this shit. you realize that's it's a regression compared to C right?

  6. 2 weeks ago
    Anonymous

    it's a good lang for learning and prototyping. only part I hate is
    >HURRR YoU hAvE tO uSe A vEnV
    frick you, I don't want to have to manually set that shit up to add dependencies. Absolute trash toolchain

    • 2 weeks ago
      Anonymous

      >frick you, I don't want to have to manually set that shit up to add dependencies
      it's literally as easy as
      python3 -m venv venv

      • 2 weeks ago
        Anonymous

        want to work
        >source ./venv/bin/activate
        oh shit need to do something else real quick
        >deactivate
        ok time to work again
        >source ./venv/bin/activate
        it's shit.

        • 2 weeks ago
          Anonymous

          what do you need to do that requires you to deactivate it?

          • 2 weeks ago
            Anonymous

            You might have two projects/codebases you're working on at the same time, but in that case you could just open a new terminal window.

          • 2 weeks ago
            Anonymous

            shouldn't have to enter it to begin with is my point. no other lang has this problem

          • 2 weeks ago
            Anonymous

            no, that wasn't your point. you said that you needed to exit it for some reason, even though you don't have to. you are just coming up with fake issues

          • 2 weeks ago
            Anonymous

            ok bro you go on and tell me what my point is hahaha
            I already said I don't mind python, I just don't like venvs because they're super inconvenient. you don't have to defend the shit decisions too. modern languages just use tiny configs to specify dependencies, versions, and other project specific data. much easier

          • 2 weeks ago
            Anonymous

            >modern languages just use tiny configs to specify dependencies, versions, and other project specific data. much easier
            and where do those dependencies get installed to if they are meant to be used on a per-project basis? yep, it's the same thing as venvs

          • 2 weeks ago
            Anonymous

            Ideally they're compiled in.

          • 2 weeks ago
            Anonymous

            developers still need to have some form of a "venv", unless they install a new operating system for each project they work on

          • 2 weeks ago
            Anonymous

            No, the dependencies for each project are all installed locally and the compiler chooses which ones to use at compile time based on the project's configuration. No separate environment needed.

          • 2 weeks ago
            Anonymous

            setting up the config file for that is so much more time than just running the one command to create a venv and then installing the dependencies as usual

          • 2 weeks ago
            Anonymous

            No more time than writing a requirements.txt

          • 2 weeks ago
            Anonymous

            >Typing "source activate" -> bad
            >Typing "make install" -> good
            Ok bud

          • 2 weeks ago
            Anonymous

            Don't put words in my mouth. I have worked with many different languages and still work with Python every day. I don't mind it one bit. I'm just not going to stick my head in the sand and fail to acknowledge that there are newer langs that do it even better.

          • 2 weeks ago
            Anonymous

            >NO! PLEASE DONT GIVE ME FEATURES
            Then just do a system-wide install for everything??? What do you want exactly?

            Virtual environments are a feature. If you don't understand them, you don't have to use them.

          • 2 weeks ago
            Anonymous

            If you find it inconvinient, then why not use IDEs like pycharm?

          • 2 weeks ago
            Anonymous

            >nvm use 18
            similar thing. just not half as shitty as python with its moronic need to shit new venv directories everywhere.

        • 2 weeks ago
          Anonymous

          >suck at tmux
          >gets filtered by python
          Must be hard being a norman

        • 2 weeks ago
          Anonymous

          Just FYI, you can invoke a specific python venv by simply calling that venv's python executable

          > ./venv/bin/python myscript.py

          No need to activate/deactivate

  7. 2 weeks ago
    Anonymous

    Its used by people with jobs.

    • 2 weeks ago
      Anonymous

      this and only this. it's not a coincidence that NEETs love C and that it's the language with the fewest jobs on the market

      • 2 weeks ago
        Anonymous

        there are more C SWE jobs than Python SWE jobs

  8. 2 weeks ago
    Anonymous

    can't even break out of nested loops

  9. 2 weeks ago
    Anonymous

    Stop mourning the loss of programing and focus on the cool stuff nerds were known before they spent decades telling the screen what to do.

  10. 2 weeks ago
    Anonymous

    its the only way shitbrains can write software

  11. 2 weeks ago
    Anonymous

    It's too moron friendly, just like Apple products, Javascript, LLMs and whatever else this board likes to seethe about. They're mad that their autistic interests aren't esoteric anymore and any determined normie can shit together a somewhat working piece of technology (which IQfyentoomen would never do themselves, as they're the "smart but lazy type").

    • 2 weeks ago
      Anonymous

      /thread

      Same shit happens with any other field here or on other boards. If anything is accessible, it gets shit on. The more esoteric, the better.

      We all know the strengths and weaknesses of Python. We all know that it’s not supposed to be used for performance intensive applications. It’s almost like every programming language is just a tool that has trade offs

  12. 2 weeks ago
    Anonymous

    ukraine fatigue

  13. 2 weeks ago
    Anonymous

    Anonymous is a contrarian. Python is popular, so IQfy must shit on it. Many such cases.

  14. 2 weeks ago
    Anonymous

    Is basically a mess for anything mildly complex, shit breaks if you look at it funny. Do midle if the run sysadmin tasks? Sure, now thay Cosmopolitan exists i don't even need to care about the host having it installed. Anything more complex than a CRUD? Nah. Poetry kind of works, but is putting lipstick to a pig.

    • 2 weeks ago
      Anonymous

      >Is basically a mess for anything mildly complex
      Mildly complex meaning how many lines, roughly? For a couple thousand lines, it works fine if you use static types and put your data into dataclasses instead of just stuffing everything into dicts.

  15. 2 weeks ago
    Anonymous

    >Why does this lang make IQfy go crazy butthurt about it?

    Because its good for learning CS AND it can make you employable.

  16. 2 weeks ago
    Anonymous

    A real neet would use vanilla JavaScript as he just wants to get stuff done and it came do everything python can and more.

  17. 2 weeks ago
    Anonymous

    Because it's part of the problem that reinforces this trend of wasting all the gains we have made in computing performance and allows morons to write software.
    Just look at the absolute state of software today. Everything is bloated and incompetent.
    Clean code, interpreted languages and OOP are a menace to society.

    • 2 weeks ago
      Anonymous

      >Clean code, interpreted languages and OOP are a menace to society.
      I spotted the Rust user!

    • 2 weeks ago
      Anonymous

      >interpreted languages
      Not sure how meaningful this is as a concept. If computing history had gone a little differently, Python could have been fast. In fact, there could still be a fast Python 4, but people just don't seem to care that much.

  18. 2 weeks ago
    Anonymous

    Blind contrarianism, because the average user of nu-IQfy wants to be different from the "normies" but is too inexperienced/moronic to have an informed opinion. I know this because these Python haters usually recommend some weakly typed garbage like Lua or JavaScript, languages that don't even distinguish between integers and floating point numbers and don't throw an exception when an array is accessed out of bounds. If they recommended something like Java, Kotlin, or C# instead, languages that can actually be argued to be better for large projects that need to work reliably, then it would be different.

  19. 2 weeks ago
    Anonymous

    Python does have significant flaws, but usually they're not mentioned in these discussions. It's some superficial bullshit like indentation sensitivity instead.

  20. 2 weeks ago
    Anonymous

    Because the two most dominant/aggressive/annoying cults are OOP and Rust. Although Python has OO features, it permits non-OOP programming, which the C++/OOP cult hate. The existence of Python also means programmers are able to use ANY language other than Rust, which the Rust cult hate.

  21. 2 weeks ago
    Anonymous

    the only crazy butthurt I see ITT is baby ducks that can't take criticism of their first lang (python). but I guess that's true for any lang

  22. 2 weeks ago
    Anonymous

    The author hates Trump.

    • 2 weeks ago
      Anonymous

      Anyone sane hates Trump.

  23. 2 weeks ago
    Anonymous

    Apparently Python does not want me so I will find an alternative.

    C is super /comfy/.

    • 2 weeks ago
      Anonymous

      Python and C are very good complements to each other.

  24. 2 weeks ago
    Anonymous

    /g/
    >larping
    >"philosophising"
    >form > function
    >cannot into IDE/LSP so whitespace syntax is a problem (/g/edditors are literally out there typing in spaces line by line and raging about python lol lmao)
    python
    >gets shit done
    see the problem?

  25. 2 weeks ago
    Anonymous

    it's a good language for a lone wolves like me

  26. 2 weeks ago
    Anonymous

    Slow. Appeals to normies and pajeets. Inefficient.
    I admit it's good for a lot of cases. But a bad programmer would use it for everything.

  27. 2 weeks ago
    Anonymous

    Ever since I get b***hed at about modules needing to be installed locally to projects I stopped giving a shit. --break-system-packages is the longest amount of shit I don't care to type so I'm not going to. Lua is easier to use anyways. That and C are powering my new desktop environment (if I ever decide to make it)

    • 2 weeks ago
      Anonymous

      >Ever since I get b***hed at about modules needing to be installed locally to projects I stopped giving a shit
      as opposed to on the cloud?

      • 2 weeks ago
        Anonymous

        No, it's something they've implemented for entirely silly reasons. Local meaning to the project's directory. Normally you'd just install them globally and opt in to install them locally to a project. Now it's the opposite.

  28. 2 weeks ago
    Anonymous

    forgot conda, theres also jpython but not used that much

    python needs three more env managers at least, and 3 more runtimes

    if anyone wants to sabotage python as a language all they have to do is make more different ways to run it

    • 2 weeks ago
      Anonymous

      >there should be a single C compiler
      >choice scares me

      • 2 weeks ago
        Anonymous

        >I want 1000 different linux distros (they're all crap btw)
        your mentality is not practical or successful in the real world

        • 2 weeks ago
          Anonymous

          Tell me again how Python isn't successful in the real world.
          I love hearing morons trip all over themselves.

        • 2 weeks ago
          Anonymous

          Oh shit it's the Microsoft pajeet.

  29. 2 weeks ago
    Anonymous

    theres poetry also i think it uses one of the aforementioned env managers underneath the hood, its more like bundle in that regard

  30. 2 weeks ago
    Anonymous

    It's popular among people they disagree with politically

    • 2 weeks ago
      Anonymous

      average IQfy user

  31. 2 weeks ago
    Anonymous

    Extremely limited language but employers will insist that you use it because brainlet college graduates and literal non-devs from other industries use it.
    It's like asking a C++ developer to use C# or a webshitter who uses a modern stack to use PHP

    • 2 weeks ago
      Anonymous

      ding ding ding ding ding ding ding ding

      /thread

    • 2 weeks ago
      Anonymous

      Python has a low barrier to entry but it's very flexible. A C++ programmer who likes template metaprogramming too much could find some very elaborate ways to frick shit up in Python

  32. 2 weeks ago
    Anonymous

    It's a language for morons that actually has a rather impressive skill curve. Read some python created by a moron vs some python written by someone writing pythonic python.

  33. 2 weeks ago
    Anonymous

    It's just a shitty language full of shit, shitty slow and requiring you to shit up your house with venvs when you want to work on anything.
    otherwise it might be okay, but for me those things are a deal breaker. especially the being full of shit part.

  34. 2 weeks ago
    Anonymous

    [...]

    >Please tell me the differences between Windows 10 and 11 from anything other than a UI standpoint.
    I have no idea. I've never used Windows 10 or Windows 11.

  35. 2 weeks ago
    Anonymous

    It has two serious downsides: package management being a clusterfrick, and the language being way too tied to CPython. That said, IQfytards just hate it because it's popular and they think they're better for liking C++. Python's downsides are irrelevant because they never write anything of use anyway.

  36. 2 weeks ago
    Anonymous

    my butt hurts from rustgays and Poorsyntax++, python and C get a pass

  37. 2 weeks ago
    Anonymous

    [...]

    >Python can be compiled you fricking moron.
    Never said it couldn't? Go and actually read my post you moronic monkey.

  38. 2 weeks ago
    Anonymous

    [...]

    >Not pythonic. Learn what cyclomatic complexity is.
    Learn what a state matchine is.

    [...]

    >Doesn't understand that that C and python are in different design spaces.
    That's no excuse, both are imperative languages. Even fricking PHP can break out of nested loops and continue on an outter loop.

    • 2 weeks ago
      Anonymous

      You can store methods in a dictionary. Please don't tell me you are actually using a giant if/else or switch statement (python switch statements are a huge hack only added in what? 3.10?).

      • 2 weeks ago
        Anonymous

        >You can store methods in a dictionary.
        So? Are you saying to implement a FSM using one function per state transition?
        How is that anything but severely inferior and less efficient than gotos and why should do you deal with this shit? Just admit that there is no good reason to not have them. Seriously, you're a fricking morron if you think that it's a bad way to program or that you don't need it because your favorite lang can't do it and forces you to structure your code differently (and less efficiently).
        >Please don't tell me you are actually using a giant if/else or switch statement
        We are talking about break/continue on nested loops in case you have forgotten, yes that is enough to qualify a piece of code of state machine.

        • 2 weeks ago
          Anonymous

          >moron who writes in all languages like he writes in C.
          Learn what idiomatic programming is.

          • 2 weeks ago
            Anonymous

            False, I use filter and map all the time.

          • 2 weeks ago
            Anonymous

            You truly are everything wrong with IQfy.

          • 2 weeks ago
            Anonymous

            lol I like both imperative andfunctional programming, there is nothing wrong with that at all. Python is shit at both, maybe that's why you don't get it.

          • 2 weeks ago
            Anonymous

            Maybe stop trying to write in python like it's C or Javascript.

    • 2 weeks ago
      Anonymous

      PHP up to 5.4 had a computed break where you passed a variable to decide which scope to break out of. It has too many features that nobody should ever use, "PHP supports this" proves nothing
      This feature is nice to have but I've never seen a really convincing syntax

      • 2 weeks ago
        Anonymous

        >It has too many features that nobody should ever use
        feature is a big word, it's just a control flow operation dude. my thinking is that whatever algorithm you're implementing, there are dozens of way to write it and it can be written in "pure" or not FP and in imperative programming. Gotos is the imperative way to program, most of gotos can be hidden in conditional and loops but sometimes it's not enough becase the logic you're implementing is inherently intricated in some ways.

        • 2 weeks ago
          Anonymous

          >feature is a big word
          It's not, a feature can be really tiny

          • 2 weeks ago
            Anonymous

            and it's still just a control flow primitive. it's maybe ok to not have pattern matching or lambdas but not having goto (or having only a tiny varierty of) is unacceptable because like I said it's a primitive, you can't simulate it

    • 2 weeks ago
      Anonymous

      >Even fricking PHP can break out of nested loops and continue on an outter loop.
      Just use a different function and return. Unlike C, Python can nest functions, so it's a literal non-problem unless you're some moron who wants to write a different language in Python.

  39. 2 weeks ago
    Anonymous

    Lua is better

    • 2 weeks ago
      Anonymous

      >Lua is better than anything
      Statements only said by the utterly moronic.

  40. 2 weeks ago
    Anonymous

    >blue yellow
    kill it

  41. 2 weeks ago
    Anonymous

    IQfy is full of arch ricers, wayland enjoyers and tinker trannies. Python is fricking easy to use, has a massive library to prevent you wasting time on writing the same code that has been made a 1000 times before and generally lets you get work done with piss easy syntax and enforcing clean code. This is the antithesis of the average IQfytard who wants to reinvent the wheel every time they do something, fricking about with irrelevant shit like ricing and wants their language to be as cryptic and trans as possible (rust homosexuals) so they feel super special for printing "hello world! on the screen.

    Python is truly the white mans language.

  42. 2 weeks ago
    Anonymous

    Same reason they ubuntu: it's too easy and it doesn't filter out the babbies. they just like feel smart by using tedious and time-consuming shit

  43. 2 weeks ago
    Anonymous

    Python isn’t really good at any one thing because it tries to be everything at once.
    For example, in a language where someone just wants to do some quick data wrangling you should not have to write multiple lines to open and close a file nor should you have to import anything. You should simply have a built in read() function that handles all of the opening and closing stuff in the c layer and returns a string containing the contents of the file.

    So then python must be a more heavy duty type safe, language for general purpose software development. Nope, it’s too slow and the types are too finicky for that.

    It just sucks at everything and I don’t like the way scoping is done using indentation.

  44. 2 weeks ago
    Anonymous

    you're just making shit up

Your email address will not be published. Required fields are marked *