• 1 Post
  • 14 Comments
Joined 2 years ago
cake
Cake day: June 7th, 2023

help-circle




  • First off, cause you are programming under windows, a lot of things will be harder for you. As seen on your problems with Python.
    Most Linux installs have it right from the get-go and everything else is as simple. So giving directions for developers on other platforms might be much easier than what you had to go through. (Maybe use WSL?)

    Let’s get to your real question: How does one organize dependencies in a way easy for new contributors?
    Since you will use Python, I will use that as example.

    Most languages have a way to automagically import dependencies. Python has the requirements.txt file. Installing dependencies is then really easy. It is also a widely known way to do that, has lots of explanation online etc. so seasoned pythoneers will know what to do and younglings will get to know a good standard right away.

    Bonus tip: If you don’t have a GUI library yet, maybe also search for game engines. They provide all the necessary tools as well, oftentimes have good GUI add-ins and are (mostly) for all mayor platforms.


  • When covid started, the country I live in set some temporary rules to relive some financial stress from the people. A lot of companies in our sector had to quickly abide by those rules (maybe 3 month time to prepare the new processes etc.)

    Our company already had a lot of customers who would need a solution to maybe automate that.

    And our project manager (and a potential customer with him) decided to not only use a native solution we could program directly into the system, but throw rpa on top.

    This not only made the solution harder to program, it also made it slower (it could only run at night instead of each case instantly), more error prone, more programmers were needed (I could program a simple solution alone, with rpa we needed 3 people plus an extra tester) and also the solution was more expensive, because of paid licenses for the rpa software.

    Suffice to say, we did not sell a single copy not even to the customer who wanted it. But we “shipped” it in a sense.







  • Go is a great language. I used it a few times when dealing with bugs in open source programs. And though I never used it besides that, I could spot and fix these easy issues fast.

    Rust is not like that. The syntax is a little harder to read and a lot of widely used libraries use complex macros to ease their users lives.

    But:
    I cannot count the times rust has saved my ass.

    Examples:
    Sqlx checks my sql files against a local test-db and always errors, when my scripts miss parameters after changing the sql file.
    I have to use a complicated mess of an API at work to get the data I need and I now use a 50-60 element enum that tells me exactly, what I got back from the API-calls.