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?
      • grandel@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        5 days ago

        Im not OP but I use VS Code and it’s setup to:

        • perform a static code analysis
        • auto format code according to my defined code style
        • highlight unused variables, namespaces, etc.
        • make some suggestions to improve code quality

        Which is what I think OP is trying to say. Your idea sounds like what IDEs should do (and mostly do).