Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Ask HN: AI Coding Preference
4 points
by
treebeard901
4 days ago
|
hide
|
past
|
favorite
|
5 comments
Do you prefer tabs or spaces with code generated from your AI models?
help
adriant93
3 days ago
|
next
[–]
Use git pre-commit hooks to format automatically, AI doesn't really listen to it. I am personally a tab sortta guy.
reply
verdverm
4 days ago
|
prev
|
next
[–]
whatever is appropriate for the language being generated, use a formatter after edit/write tool calls
reply
agentshipped
4 days ago
|
prev
|
next
[–]
whatever the repo's formatter says. asking the model never stuck
reply
Unknown-333
4 days ago
|
prev
|
next
[–]
spaces
reply
slipwalker
3 days ago
|
prev
[–]
i always preferred tabs ( and each developer chooses how many spaces it mean in its own .vimrc ) but then i was forced to move to spaces when "opiniated" languages -- i am looking at you, F# FS1161 -- decided to mistreat the innocent tabs.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
reply