How to cut your assets for animation
Give Erika a piece of advice.
The hyphen (-) is not safe in a development environment. The underscore (_) is a safe character, so it is generally used instead. :
Which part that uses hyphen would affect code?
Personally I greatly dislike underscore. It's too large and makes things ugly, particularly with variable width fonts, but I also don't use it in code with fixed width fonts. In Spine projects I use hyphen and encourage it. All our examples use hyphen. The names of things in your Spine project don't appear in code verbatim and camel case is better IMO.
Space is also OK in Spine projects and I would prefer space to underscore, even with the drawback that you can't see it.
It's not better though. Which character to use in your naming is purely subjective. Use whatever looks good to you: hyphen, space, underscore, or anything else. The choice has no affect on code. What other large projects use doesn't matter.
Yes, so it's just a suggestion. Because I like watching Erika's videos. But then I saw some actual job requirements and felt a bit disconnected. Don't worry about this issue. - More aesthetically and linguistically.