Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The second way produces more billable output tokens. Worse, when you feed that code back into the LLM service, the extra whitespace counts as input tokens.


an LF is 1 character, just like a space. Its just looks bigger to our puny human brains.


It isn't a 1:1 substitution. Indenting each parameter like in the second example adds additional space characters: in this case, 4 extra spaces per parameter.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: