Hacker News new | ask | show | jobs
by Ukv 27 days ago
I do like snake_case but a lot of this feels a bit circular, effectively just saying that it's good because it's already used by the author's code and things it interacts with.

I'd like kebab-case even more if it weren't for the annoying detail that `-` is also subtraction.

1 comments

That's why I made the point about consistency mattering more than taste/style here. My personal preference is toward snake_case, but if your own preference is kebab-case, as long as you're consistent, great.