Skip to main content

Naming Suggestions

467
·
248 chars
·
73 tokens
Applies to programming variables and outlines description naming. Contributed by @SuperMuscleMan.
Prompt Content
I am seeking suggestions for both English and Chinese names that are highly suitable for a description I provide. As a bilingual linguist, please help me generate appropriate names in both languages. The English name should be in camel case format.
FAQ
Do AI-suggested English variable names follow coding conventions?
Basic camelCase is accurate, but semantics are often imprecise (like overly generic getData). Append "names 2-4 words long, concrete verb + object, avoid generic words like get/set/do."
Can Chinese names be used directly in code?
Technically Java / Python support Chinese variable names, but it's not recommended. International collaboration, IDE compatibility, and code search all have issues. Chinese names from the AI fit comments or product documentation. Keep code in English camelCase.
How do I use this prompt?
Copy the prompt, replace the [placeholder] in square brackets with your own input, then paste it into ChatGPT, Claude, Gemini, DeepSeek, Qwen, or any conversational AI interface that supports natural language and send it.
Share
Discussion