Hey,

I’m exploring the idea of a webpage where you can paste a function (or a block of code) in any programming language, and it outputs a list of specific, actionable refactoring suggestions - things like:

  • Unnecessary complexity
  • Poor naming conventions
  • Duplicated logic
  • Violations of language-specific best practices
  • Readability issues

The goal is to help developers quickly spot areas for improvement and make their code cleaner, more maintainable, and easier to understand.

Questions for you:

  • Would you use such a tool? Why or why not?
  • What features would make it important for you? (e.g., integration with GitHub, support for obscure languages, explanations for each suggestion, etc.)
  • Are you ready to pay for a tool like this (for example, paying for access to advanced checks or being able to tune checks for your programming style)?
  • Are there existing tools you love (or hate) that do something similar?
  • Andrés@lile.cl
    link
    fedilink
    arrow-up
    3
    ·
    5 days ago

    @YUART yes too, i thibk will be hard to hace another tab just for that purpose. And for refactoring you must know what refactor, I mean, I know when a name is no the best or the code was repeated or a code produce a n+1 problem, so when I ask for refactor to an LLM I make a specific query and not just: refactor it

    • YUART@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      5 days ago

      That’s true, and that’s a hard part. I have some ideas on how to solve that problem, but I can’t prove anything because this is the first time I’m working on a helper like that one.

      That’s also the reason why I decided to ask people - there is no point in engaging in complex problem-solving, like for that tool, to only find out that no one actually needs it