• 4 Posts
  • 22 Comments
Joined 11 months ago
cake
Cake day: August 6th, 2023

help-circle








  • FlumPHP@programming.devtoProgrammer Humor@lemmy.mlNames
    link
    fedilink
    arrow-up
    336
    arrow-down
    1
    ·
    7 months ago

    These people don’t even read their own literature. The Catholic church’s ban on alchemy is about falsely claiming something is a valuable metal in order to pay for debts. It has nothing to do with the occult – the ban was because it’s a sin to lie / cheat / steal. A saint is even on record saying that alchemical gold is ok if the end if product is real gold.

    With that context, of course God doesn’t give a shit if you use SQLAlchemy as long as you aren’t using it to defraud people. If you were defrauding people, it wouldn’t matter what tool you used.

    .





  • I too want my query results in an object, but thankfully libraries like sqlx for golang can do this without the extra overhead of an ORM. You give them a select query and they spit out hydrated objects.

    As far as multiple DBs go, you can accomplish the same thing as long as you write ANSI standard SQL queries.

    I’ve used ORMs heavily in the past and might still for a quick project or for the “command” side of a CQRS app. But I’ve seen too much bad performance once people move away from CRUD operations to reports via an ORM.






  • Jetbrains IDEs do a lot of indexing and caching so that operations that normally take a bit are faster. Full text search, find usages, identifying interface usage in duck types, etc.

    But the killer feature for me is the refactoring tools. Changing a function signature, extracting an interface, moving code to new files or packages, etc. I pair with folks who use VS Code and its a bit tedious watching them use find and replace for renaming things.

    I’ve never been able to benefit from an IDE in a way that make up for how much slower and more bloated they are.

    That does sound legit if you have resource limitations. Thankfully I’ve always worked for corporations that hand out MacBook Pros like candy. Normal day for me is having two Jetbrains IDEs open with Chrome, Slack, Zoom, and a dozen containers. Still runs smooth.



  • Code review is overrated and often poorly executed, most things should be checked automatically (review should still be done though)

    I think part of this is caused by the fact that a lot of people are bad at code reviews so they focus on things that a linter could have told you. Being able to read code isn’t necessarily the same skill as being able to write it – as evidenced by the knee jerk reaction to throw out any coffee we didn’t write ourselves.

    I still create code reviews when I’m working on a project alone because it gives me a different perspective on the changes I’ve made.



  • Please don’t say the new language you’re being asked to learn is “unintuitive”. That’s just a rude word for “not yet familiar to me”.

    Yeah. I’ve written in six or so different languages and am using Go now for the first time. Even then, I’m trying to be optimistic and acknowledge things are just different or annoying for me. It doesn’t mean anything is wrong with the language.