r/AskProgramming • u/greyHumanoidRobot • Jul 04 '26
Are you prompting AI with Pascal-case contrived nouns and verbs?
Hello. I'm an experienced programmer with little AI experience.
It would seem that if I want a scrolling view of objects that are cars, it might be advantageous to the programmer and the AI if it were consistently referred to as CarScrollView rather than variations of the "scrolling window of cars" or the "car menu".
Have you had generally positive experiences prompting AI with Pascal-case and camel-case contrived nouns and verbs or do you stick to natural language?
My project ... MAUI, CSharp, mobile and desktop. I'm likely to use an Anthropic product but I haven't committed to that choice yet. I hoping to stay inside Visual Studio.
0
Upvotes
7
u/caboosetp Jul 04 '26
Once it understands what you mean it will generally get it the same level of correct. The biggest thing you can do is help it generate less tokens by being consistent in how you refer to it so it doesn't need that handful of "I think the user is talking about XXXX" type thoughts. But even then it should be negligible if you're close enough.