Ask HN: AI Coding Preference
Posted by treebeard901 1 day ago
Do you prefer tabs or spaces with code generated from your AI models?
Comments
Comment by adriant93 12 hours ago
Use git pre-commit hooks to format automatically, AI doesn't really listen to it. I am personally a tab sortta guy.
Comment by agentshipped 1 day ago
whatever the repo's formatter says. asking the model never stuck
Comment by Unknown-333 1 day ago
spaces
Comment by verdverm 1 day ago
whatever is appropriate for the language being generated, use a formatter after edit/write tool calls
Comment by slipwalker 1 day ago
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.
Comment by Laxman_Singh 1 day ago
[dead]
Comment by keivalya 1 day ago
[dead]