Thanks to visit codestin.com
Credit goes to programming.dev

Install Guix

  • 99 Posts
  • 752 Comments
Joined 1 year ago
Codestin Search App
Cake day: January 21st, 2025

Codestin Search App








  • Uff. That sounds like a nightmare. I’m glad my job doesn’t force us to us AI. It’s encouraged, but also my managers say “Use whatever makes you the most productive.” AI makes me slower because I’m experienced and already know what I want and how I want it. So instead of fighting with the AI or fact checking it, I can just do shit right the first time.

    For tasks that I don’t have experience in, a web search is just as fast. Search, click first link. OR. Sure, I’ll click and read a few pages, but that’s not wasted time. That’s called learning.

    I have a friend who works at a company where they have AI usage quotas that affect their performance review. I would fucking quit that job immediately. Not all jobs are this crazy.

    AI tends to generate tech debt. I have some coworkers that generate nasty, tech debt, AI slop merge requests for review. My policy is: if you’re not gonna take the time to use your brain and write something, then I’m not gonna waste my time reviewing your slop. In those cases, I use AI to “review” the code and decide to approve or not. IDGAF.


  • simple boilerplate stuff pretty well

    1. It does not. My coworkers did some demos on this and it generated random, unnecessary, bloated, shitty, boilerplate. And worse, “because AI told me to” is now used to cement bad practices at my company. Just because it generates 1000s of LoC doesn’t mean you actually need that.

    2. If you really need “standard boilerplate”, we’ve had tools to generate deterministic code for a long time now. They’re called snippets or templates. Just setup a company git repo template for your ideal project or whatever and have people clone that. Plus, this template repo would be reproducible, fixable, and debuggable, instead of rolling the dice with AI.








  • Yeah, I’m sure. It’s not something I would do frequently. My work had us on beefy desktops. But, I was totally fine with letting find+parallel+grep run for 30 minutes in the background while I searched docs or messaged people on slack. Depending on your team, getting a response from slack could easily take 24 hours so. Eh.

    The other thing I liked to do is directly edit the libraries in the monorepo! No need to figure out how hack some random decency manager. You have the code! Just edit and build!


  • On the other hand, using ordinary tools like find and grep are exactly what I like about monorepos! Yes, they may take a while, but at least I know I’ll find a file or code that I’m looking for!

    With multi-repos I’m constantly searching, but not finding where a particular piece of code comes from. Yes, it’s from library X, but where there heck does that live? Now I really can’t use ordinary tools. I have to rely on coworkers, docs, or GitLab to search for where a piece of code is actually defined.


  • AI coding tools definitely helpful with boilerplate code

    They’re really not. Just because they generated a starter template for you doesn’t mean you actually needed all of that mountain of slop. My coworker recently did a presentation where he generated a starter project for a Go project and most of it was shit and just not necessary. People assume you need mountains of boilerplate, but you may not need that. (Worse, AI is cementing bad practices at work.)

    But also, assuming your project does need to generate a ton of boilerplate, should you really be going to the casino and rolling for a fresh mountain of slop that is hopefully correct? We can already generate code: snippets (in your editor), templates (like cloning a template repo), and generators (like create-react-app) already exist. Aaand these are deterministic, debuggable, and fixable.


  • paequ2@lemmy.todaytoProgrammer HumorElectron apps
    Codestin Search App
    Codestin Search App
    English
    Codestin Search App
    5
    ·
    1 month ago

    Have they tried coding a UI in a native library instead of the holy HTML CSS JS trifecta? It’s usually fairly miserable and usually extremely non-customizable by comparison.

    🙋‍♂️ I have. Exactly because Electron = bloat. Granted it was just a small side project that I spent like a month or so building. I wanted to learn GTK4, Adwaita, GNOME Blueprints, and Vala.

    I personally didn’t think it was too miserable (again small project, not a ton of specialized needs). However, I 10000% completely agree with the “extremely non-customizable by comparison”. I can totally see why companies don’t want to look like a generic OS app. Getting the Bitwarden app to look like Bitwarden on Linux seems like it would be waaay harder and more time consuming than just reusing their existing HTML, CSS, and JS codebase. At least in my month of messing with GTK, it seems like desktop UIs have wwwwaaaaayyyyyyy less control over the UI than webapps do, at least by default. I’m guessing you can write more Vala to get a more custom UI in GTK, but again seems like waaaaayy more work for something highly custom.

    By the end, I thought: Electron = bloat, but also Electron = apps existing at all.