[–] 7 points 1 week ago

But if every single comparison used in a file is a triple =, then any compression algo worth its weight in salt will compress that bloat away during transmission

The real issue is all the precious precious RAM those extra = use on the client device once received and unpacked!

  • source
  • parent
  • context
  • [–] 13 points 1 week ago (5 children)

    The recommended ESLint rules catch most of the bad stuff, and these days this is all you need in your ESLint config to enable them:

    import {defineConfig} from 'eslint/config';
    import js from '@eslint/js' 
    
    export default defineConfig([
      js.configs.recommended,
    ]; 
    

    There's one use case where == is still commonly used: == null matches both null and undefined. Lint rules that block == usually allows the null case as an exception.

  • source
  • parent
  • context
  • [–] 45 points 1 week ago (18 children)

    This diagram is nonsense. JavaScript programmers know to simply never use == but to use === instead. Half of JavaScript is like this. Oh, there's a feature, but it behaves in a super weird way so we don't use it to avoid the weirdness.

  • source
  • parent
  • context
  • [–] 6 points 1 week ago* (last edited 1 week ago)

    Now I definitely know you haven’t seen a real professional codebase.

    Extremely wrong. So much for your assumptions.

    Professional git repos are full of one sentence commit messages with little to no explanation of what’s in the change set.

    Yes, humans can communicate poorly, of course. But people letting the LLMs do it do not understand what is in the change, and the LLM certainly doesn't. There's no one at all to ask because no one understands what was changed or why.

    I'll take “sometimes lazy but they wrote it and their understanding of it can be interrogated”, all week.

  • source
  • parent
  • context
  • [–] 3 points 1 week ago* (last edited 1 week ago)

    Any critical security vulnerabilities will be the fault of Google. This app is a glorified filepusher manipulating bash strings into standard path structures for google buckets.

    Edit: to describe more precisely, it's a bunch of bash functions that manipulate a bash string for the commands gcloud storage ls and gcloud storage cp. It has some useful functionality beyond that, such as tracking projects and project versions for collaborative purposes, but this is a mask on top of existing commands.

  • source
  • parent
  • context
  • [–] -2 points 1 week ago (1 child)

    That's fine. It is probably worth noting human written code that has been reviewed by 1000s of humans are having valid critical bugs found in them by AI. No one is forcing you to use it but humans aren't magically perfect just because you don't like AI.

  • source
  • parent
  • context
  • [–] -1 points 1 week ago (2 children)

    Now I definitely know you haven't seen a real professional codebase. Professional git repos are full of one sentence commit messages with little to no explanation of what's in the change set.

    Humans suck at communication, especially when there's pressure to get product features out the door. AI driven repos are full of beautifully summarized commits with clear explanations of architectural choices, change motivation, etc.

  • source
  • parent
  • context
  • [–] 9 points 1 week ago* (3 children)

    Working professionals are, if at all competent to be committing code to a professional code base, entirely capable of writing their own commit messages.

    If they can't write the commit message, they can't sufficiently explain in writing the commit they just made to anyone. So, they should not be working professionally on a code base.

    If they are capable of writing the commit message with their own understanding in their own words, but they choose not to communicate their understanding in the commit message? Also disqualifying, they should not be working professionally on a code base. Human communication is essential to this work.

    That this is a controversial position, is a clear sign of the Slopocalypse.

  • source
  • parent
  • context
  • view more: ‹ prev next ›