• worldsayshi@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    If you’re already knee deep in existing code and looking for bugs or need to write quite specific algorithms it seems not very useful. But if you for some reason need to write stuff that has the slightest feeling of boilerplate, like how do I interact with well established framework or service X while doing A, B C it can be really useful.

    • oldfart@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Also it’s often doing a great job if you paste a stack trace into it and maybe some surrounding code. I used it to fix someone else’s Java code as well as to upgrade some 3rd party Wordpress junk to latest PHP. I barely know Java and stopped following PHP news around version 5.6.