you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 4 months ago (2 children)

They are however widely known to be terrible at code

They are for large tasks. However, for simple pattern repetition tasks, they're generally fine, code or not. I've had success, for example, having them remove pointless, confusing try..except blocks surrounding imports at work. I usually find that I just rewrite anything myself if it's anything more complex than that because the code it produces makes no sense and taught me nothing.

I like to say the main problems with most projects were already the code quality and the bugs, and not that we somehow needed even more low quality lines of code.

Tell me about it lol.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 4 months ago (1 child)

    I’ve had success, for example, having them remove pointless, confusing try…except blocks surrounding imports at work.

    And you may have introduced some dangerous hidden bug that way, which you may not have doing it manually.

    (I'm not saying that makes it not worth it, this is just what the studies are saying. I personally think it's not worth it, but I realize there is some subjectivity here.)

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 4 months ago

    And you may have introduced some dangerous hidden bug that way, which you may not have doing it manually.

    You act like I can't read some import statements and see if they match the import statements on the other side of the diff lol.

    There was no bug introduced. All the dependencies were required. If any of the imports did error, then that's a bug with that package that got surfaced instead.

  • source
  • parent