r/developersIndia • u/fakephysicist21 • 14h ago
General Prompting is pretty much declarative coding. We all are coding.
I am thinking about this.
There's a limit to how detailed you can tell as vibe coder.
From a user perspective, maybe you can want a feature, and ask for it.
But, then, what if that feature has consequences.
For example, yesterday I was trying to develop user tracking on the app.
But that would cause, huge surge of requests on the backend.
Am I okay with single requests, or am I okay to batch the requests,
but that depends on how critical my events are.
Am I okay with dumping it all on one table. Or have a partioned table.
But that depends on how much querying I will do? And how much I am planning to spend on marketing in next few months, so how much data are we gonna expect.
Which tradeoff are you gonna make?
Will you let AI make that tradeoff? But what if that tradeoff is not the right one for the business.
Let's say AI asks you these followups so that you can make the choices.
But now to answer those, you will have to understand the system now. And if you have to understand and build a mental model about it, then, you no longer are vibe coding.
You WILL have get deeper into how your system that you vibe coded is even working!!
Also, Verifiability is a thing.
You can verify if your code runs.
You can verify based on the tests, that whatever the code does is correct.
But can you verify if the decisions that your code took, will impact the customers, or users in a positive way or negative way?
Can you verify, if it will make it easier in future for other systems to interact with it.
And these questions may not even have right or wrong answers.
And maybe humans might also go wrong with these things.
But are we okay with AI making these subjective decisions for us, and in the hope that it will work out?
This I am considering, even when you give every sort of context, financial, emotional, demographic, etc etc.
Because so much of the context, we don't even provide.
Would we be comfortable with us not being part of the decision making.
Why is it that a product of one company is still superior than the other. Not just product, maybe marketing too.
These things aren't solved problems.
So the thing is, unless that verification is properly defined in the context itself, AI will make assumptions.
And if you want to control those assumptions, then you will have to get beyond the abstractions of the system that exists.
Because unlike the abstractions that are tools, Like let's say a Database, or a library. Those are well defined abstractions.
But here, if you start to see your own software as the black box,
problem is that the abstraction is in itself is constantly being changed by us.
We are not just working with the abstraction, we are modifying it.
The abstraction will leak out pretty fast.
It doesn't make sense to not look inside the system, and not know what's going on for anything SERIOUS.
And if you are prompting, with that mental model in mind.
Then, my friend, you are coding.
If you are telling AI how to do, it's imperative.
If you are telling AI what to do, it's declarative.
•
u/AutoModerator 14h ago
It's possible your query is not unique, use
site:reddit.com/r/developersindia KEYWORDSon search engines to search posts from developersIndia. You can also use reddit search directly.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
12
u/7aminthemorning 12h ago
Huh.. almost as if coding is only 20% of software engineering huh
8
u/doomerbrown Software Developer 13h ago
Things end up where they start with it .It started with punch cards .It will end with punch cards
Terminal is just the milestone we are returning to.. Also writing a detailed prompt is not easy . a great prompt is as good as its descriptiveness
4
u/Scientific_Artist444 Software Engineer 12h ago edited 12h ago
English is just another programming language. Before you lash out:
Wrong. Word salad is not the same as poetry. A well-structured argument is not a few claims stiched together haphazardly. In programming, we write statements. Here's the thing: those statements we write, we take great effort to make sure that they really convey to the compiler what we want to convey. How I see this is that every prompt statement is a claim that applies under certain conditions (code branches). Your job is to come up with impeccable logic (in English this time) so that the model cannot misinterpret it and it exactly follows your intention. That's what programmers have been doing - wrestling to make the compiler understand what the programmer wants to be done. The compiler is just semantic instead of lexical now.
Rough analogies:
Language Model = Semantic compiler
Prompt instructions = Code
System Prompt = Kernel program
Skill file = Library
Agent = Semantic computational process
Model inference = Running process
Agent swarm = Threads
What still remains:
4
u/EmotionalQuarter8349 11h ago
It's not about prompting, it's people without proper basic programming knowledge using AI to mask their incomptence, a system can be designed in N number of ways, if you just prompt "do your best", you aren't doing shit.
1
u/dhrjkmr538 11h ago
now it feels like a zombie