logoalt Hacker News

railkatoday at 12:02 PM2 repliesview on HN

Why do people choose the hyphen ("-") as the separator in an identifier? When double-clicking, the ID does not select completely, unlike when an underscore ("_") is used.


Replies

railkatoday at 12:04 PM

There is an example on GitHub with a prefix: "task_storm-delta-stone" (prefix: 'task'). Wouldn't it be more logical to have it reversed, like "task-storm_delta_stone"?

pranshuchittoratoday at 12:03 PM

Using "_" separator increases the token usage.

show 2 replies