Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

I have not done any vibe coding and have a question for those who have.

Uncategorized
9 6 5
  • I have not done any vibe coding and have a question for those who have.

    Suppose you request a change, adding features, changing things around based on learning and testing, which is generally what happens after you've been working on something new.

    Here's the question. What happens when you ask for a change that requires the codebase to be reorganized.

    How did that go? Do the AIs know that's possible or do they just pile on special cases?

  • I have not done any vibe coding and have a question for those who have.

    Suppose you request a change, adding features, changing things around based on learning and testing, which is generally what happens after you've been working on something new.

    Here's the question. What happens when you ask for a change that requires the codebase to be reorganized.

    How did that go? Do the AIs know that's possible or do they just pile on special cases?

    @davew You can have them reorganize and refactor. With moderate success, I would say.

  • I have not done any vibe coding and have a question for those who have.

    Suppose you request a change, adding features, changing things around based on learning and testing, which is generally what happens after you've been working on something new.

    Here's the question. What happens when you ask for a change that requires the codebase to be reorganized.

    How did that go? Do the AIs know that's possible or do they just pile on special cases?

    @davew I've experimented a little because I feel like I need to know how it works -

    The older models would do insane stuff. Absolutely they would consider piling on special cases.

    The latest models? It's genuinely a bit like magic. They don't always work but they will often reorganize and optimize a codebase - in a way that makes sense and actually works.

  • @davew You can have them reorganize and refactor. With moderate success, I would say.

    @konrad

    heh, i was sure you could ask. 🙂

    i'm doing a slow corner turn on some complex software to have it work in a different environment from which it was envisioned running in.

    there's going to be new code at the top level, a combination of forking and factoring.

    and done SLOWLY, considering all the problems, and not wanting to introduce any more complexity than i have to, to make future corner-turns more likely to work and not require wholesale rewrite.

    does the bot know about this?

  • I have not done any vibe coding and have a question for those who have.

    Suppose you request a change, adding features, changing things around based on learning and testing, which is generally what happens after you've been working on something new.

    Here's the question. What happens when you ask for a change that requires the codebase to be reorganized.

    How did that go? Do the AIs know that's possible or do they just pile on special cases?

    I’ve found that the key is the “context window”, which is a magic black box of what the app has been working on for the current session.

    If I keep the tool focused on what I’ve been working on in the context window, the results have been pretty good. If I ask it to assess something it hasn’t touched, results get more wild.

  • I have not done any vibe coding and have a question for those who have.

    Suppose you request a change, adding features, changing things around based on learning and testing, which is generally what happens after you've been working on something new.

    Here's the question. What happens when you ask for a change that requires the codebase to be reorganized.

    How did that go? Do the AIs know that's possible or do they just pile on special cases?

    @davew I have found that using Obra Superpower plugin/skills is of immense help to do just that, the first thing is to have claude code to map the repo and differentiate between instruction for him in Claude.md and for humans in readme.md
    once the repo is properly described and mapped for claude you have your init context right, then for a refactoring or reorg of the code I would use an agent code reviewer to plan (superpower skill) and then only execute the plan once reviewed

  • @davew I have found that using Obra Superpower plugin/skills is of immense help to do just that, the first thing is to have claude code to map the repo and differentiate between instruction for him in Claude.md and for humans in readme.md
    once the repo is properly described and mapped for claude you have your init context right, then for a refactoring or reorg of the code I would use an agent code reviewer to plan (superpower skill) and then only execute the plan once reviewed

    @davew I have tested this approach both at work on a big legacy java repo which contained production code and dev spaghetis code lying around and to refactor personal code projects that I had initially developed with the help of chatgpt, with claude code I refactored and modernized all my custom python apps, it went really smooth, in both case I had to baby sit the process but the result was worth it

  • @konrad

    heh, i was sure you could ask. 🙂

    i'm doing a slow corner turn on some complex software to have it work in a different environment from which it was envisioned running in.

    there's going to be new code at the top level, a combination of forking and factoring.

    and done SLOWLY, considering all the problems, and not wanting to introduce any more complexity than i have to, to make future corner-turns more likely to work and not require wholesale rewrite.

    does the bot know about this?

    @davew My personal experience is only with Claude Code so far, and with it, the current state of things is to first have it make a plan that also details its “understanding” of the code base. That then you can edit and adapt, and only then let it make actual changes. You can even use different models for the different tasks and my configuration specifies to think hard on the planning phase (using more context).

  • I have not done any vibe coding and have a question for those who have.

    Suppose you request a change, adding features, changing things around based on learning and testing, which is generally what happens after you've been working on something new.

    Here's the question. What happens when you ask for a change that requires the codebase to be reorganized.

    How did that go? Do the AIs know that's possible or do they just pile on special cases?

    @davew It’s been a mixed bag for me but mostly leans towards success. :) As suggested above, maintaining context with the tools is the key factor.

    Sometimes, responses to follow-up prompts often include snippets of code that, while correct, can sometimes be hard to see where they need to be applied as a change/addition/subtraction. I find myself prompting to, “Please provide the complete implementation with this update included.” and that (almost always) works.

    It does feel magical,
    though. 🪄


Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    2 Posts
    2 Views
    @stefano This is an absolutely legitimate use case for CW. I find myself both hungry and hating you at the same time.Cheers! 😎
  • 0 Votes
    1 Posts
    2 Views
    L’inizio di tutto: la presa di coscienza che in Italia non posso più vivere.https://www.spreaker.com/show/6745559/episodes/feedC’è chi viaggia per rilassarsi, per scoprire il mondo o per fotografare. Io ho sempre viaggiato per fare tutte queste cose insieme, fino a qualche tempo fa. Poi, tre patologie dolorose mi hanno costretto a rivedere tutta la mia vita. Quando ho capito che il posto in cui vivo ora è una parte importante del problema ho iniziato a provare una strana sensazione: che la mia casa non fosse qui, ma da un’altra parte, in uno di quei luoghi dove il dolore passava. E allora, ho iniziato a cercare.Per un anno e mezzo ho viaggiato tra le isole calde d’Europa per trovare una nuova casa, un posto dove il cuore vuole stare e il corpo smette di fare male. Il mio è diventato un viaggio verso casa, verso una casa che ancora non c’è, ma ci sarà, e mi manca già.In ogni posto ho registrato suoni e pensieri e, una volta a casa, scrivevo le mie impressioni per non perdere nulla. Tutto questo è diventato il mio diario e il mio diario è diventato un podcast. L’ho chiamato Verso Casa.Verso Casa è il racconto di come mi ha cambiato questo viaggio così importante. Ti aspetto ogni domenica con una nuova tappa della mia ricerca. Un’occasione per scoprire posti nuovi o idee per cambiare vita. Puoi ascoltare il podcast sulla tua piattaforma audio preferita o sul canale YouTube Verso Casa.
  • 0 Votes
    2 Posts
    0 Views
    @joyousjoyness so beautiful
  • Abstinence-only LLM usage policy.

    Uncategorized
    2
    0 Votes
    2 Posts
    0 Views
    @Binder I use LLMs but I don’t inhale