• 0 Posts
  • 135 Comments
Joined 3 years ago
cake
Cake day: July 3rd, 2023

help-circle



  • As for languages that are acceptable for business logic, C++ is lolno, Java is kinda surprisingly okay because so much business logic is already written in it and debugging is trivial, Python is not worse than Java for the same reason when you are using proper linter to catch typos, C# / Go / Ruby are probably the best because they are most modern with the lowest footgun ratio.


  • JSON-in-a-string is a commonplace method of having a generic or any type when you are too lazy to write a proper structure for it, or want to save an object into a database without creating an additional table. In all fairness it has nothing to do with the language itself, and more with lazy coders. Postgresql even have additional SQL operators to access individual JSON fields inside a record, so yeah, you can dump a whole new unstructured database into a row of your existing database, it’s totally an acceped practice.


  • It’s Javascript with types. You are still using one hundred NPM packages to do the simplest thing. Any string can be JSON. And Node is single-threaded, so if you plan to create some kind of parallel computation, you’d need to run 16 Docker containers of your Node server, one per CPU core, with NGINX or some other load balancer at the business end, and hope that your database engine won’t reorder transactions. And yeah, Docker is mandatory, because Node version in your latest Ubuntu release is already outdated.













  • pelya@lemmy.worldtoProgrammer Humor@programming.devBaba Yaga License
    link
    fedilink
    arrow-up
    27
    arrow-down
    6
    ·
    5 months ago

    Non-commercial usage restriction makes this license not FOSS compatible.
    Additionally, ‘no mortal hand’ restriction is strange, it permits someone like medusa to modify the code while forbidding that to actual software engineers, and would a software engineer dictating code to a medusa be a breach of this clause? I’m not saying that long-lived organisms cannot obtain programming skills, but it is exceedingly rare.



  • pelya@lemmy.worldtoLinux@lemmy.mlDebian Trixie
    link
    fedilink
    arrow-up
    8
    ·
    6 months ago

    The update from Debian 12 took me four hours. It works. Plasma did not load so I had to clear old configuration files and configure it anew. Plasma on Wayland is actually usable now, and looks stable so far. And I’ve got new wallpapers I’ve so desired.

    And now it’s time to forget about OS updates for another two years.