Artificial Intelligence
Artificial Intelligence
Out of context: Reply #2608
- Started
- Last post
- 2,715 Responses
- renderedred1
- have ai rewrite it. problem solved.capn_ron
- prompt: "do the same thing, only cleaner"capn_ron
- This advice will never get old:
Don't be stupid.palimpsest - The biggest improvement in using AI is allowing me to focus more on architecture. Not just by freeing up time but by the nature of the discussions themselves.palimpsest
- Who cares right? If it works it works.monospaced
- if "MVC" (etc) isnt part of the prompt, will AI just create a bunch of functions that work but have no strucuture?Squiddy
- @Squiddy
Not necessarily. I think it can read into how you structure the prompt. It will give a plan and you can make corrections before it implementation.palimpsest - In my case, most of the time it's working from a codebase so it knows how to add new functionalities to it.palimpsest
- As an anecdote, my project mananger that doesn't code implemented something with AI on his own. It was all imperative and difficult to read and debug.palimpsest
- He's the guy that "prompts me". It reminded me of the very first project we worked on. I was working with the only information he gave me so my code was similarpalimpsest
- All that to say, that you don't necessarily need to give it technical constraints for architecture, it's mostly how you explain the project.palimpsest
- The difference between telling it: "Go down the street, make a left then a right, go in the store and get me a soda".palimpsest
- And: "You need to get me a soda from this address, use Google Maps to get directions to this store. Use those directions to bring me a soda."palimpsest
- Then you have the structure to send it to fetch other things at other places.palimpsest
- sounds like every codebase i've ever inherited over 25 years of coding.kingsteven
- palimp is right though, i treat the main agent on a project almost like a wiki, it makes sure the coding agents actually build to spec.kingsteven
- That's the spirit!palimpsest
- The "If it works it works" philosophy can only work once. Once you introduce an external or internal new parameter everything will break.palimpsest
- And that's when you realize you should have built something solid in the first place.palimpsest
- I haven't used MVC in decades. I prefer IIFEs & functional programming . AI naturally infers this from my prompt or the codebase.palimpsest
- It seems like nobody here is using AI in client production grade code. I would love to hear to your feedback.palimpsest
- @palimpsest and @kingsteven thanx for the insights! This is helpful and encouraging.Squiddy
- I'm starting to change my mindset. Before I would just feed AI a class at a time and ask it to code review and refactor. Clearly behind the times.Squiddy
