Post

Log inSign up

Post

user avatar
Alvin Sng
Factory
@alvinsng
AI coding tip: Use LLMs to get advice on naming. They say one of the two hardest problems in computer science is naming. However, LLMs actually excel at this since they "weight" the most common conventions as their bread and butter. The next time you're thinking about how to name a variable, file name, method name, etc., consult an LLM for the best advice on existing conventions. This is especially important when thinking of names for a public API. Examples: - What to name an enum that indicates the type of client used (web, CLI, mobile device, etc.)? - What are the common CLI arg names for dumping all the raw debugging output? - What is the convention for naming a database table that stores token usage? - What is a ideal metric name for X? - What is the common HTTP header name for Y?
9:32 PM · Sep 15, 202512.4KViews

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Relevant people

user avatar
Alvin Sng@alvinsngFollow

Trending now

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up