• 135 Posts
  • 3.88K Comments
Joined 1 year ago
cake
Cake day: September 1st, 2023

help-circle


  • onlinepersonatoProgrammer HumorMicrosoft Please Fix
    link
    fedilink
    English
    arrow-up
    55
    arrow-down
    9
    ·
    10 hours ago

    The reactions here are why people don’t join forums, don’t ask questions, or choose to learn alone. “duh, I knew that”. Yes, the dude didn’t, which is exactly why he’s frustrated. I think too many have forgotten what it’s like to be a beginner and make a fatal mistake, which would explain the mocking responses here and things like recommending new linux users Arch.

    Anti Commercial-AI license





  • Oh my… I’ll eat my words about python maintainability. No unit tests, no emulation tests (with emulated services), no tests with a database, no formatter, no linter, no type hints, simple pip… The result is working, but I’m a little bit concerned about the nigh complete lack of testing and though they use an ORM (SQLAlchemy), I find the raw SQL therein (even if it’s simple) concerning.

    Besides that, the end result looks quite usable and it’s nice to see an alternative to lemmy.

    Anti Commercial-AI license




  • onlinepersonatoPythonIs Python Really That Slow?
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    22 hours ago

    Python has typing hints which mypy uses. It’s similar to something javascripts wants to introduce call type annotations. It also has linters and formatters (ruff which does the work of multiple tools in one and is very fast). It also has unit tests built in as well as popular test libraries like pytest and nox and tox for running tests.

    It is up to the maintainers to use the tools they have been given to make projects maintainable. I have worked on and seen very maintainable python projects of various sizes. While legacy code is always a bit of a nightmare (python 2 and < python 3.6), it doesn’t have to be that way and getting into a python project nowadays is way easier than most other languages I’ve tried (maybe also because it’s what I know well).

    Anti Commercial-AI license







  • onlinepersonatoRustSpeeding up the Rust edit-build-run cycle
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    5 days ago

    If you’re like many developers and you generally use println for debugging and rarely or never use an actual debugger, then this is wasted time.

    I weep for the time lost on debugging with println. Good grief. It’s like having access to a time stopping ability and going “nah, I like trying to add a marker and tracing footsteps”.

    Yes, for multi threaded workloads there aren’t many options, but most are single threaded and eschewing a debugger is bonkers to me.

    Anti Commercial-AI license