Closed iamskok closed 9 years ago
@Skoks you brought up a good point. These are the three mixin file examples in the repo for bem, icons and animations. Didn't really formalize it but start with lowercase and camelcase the second if it has one. In general, I would avoid using -
to separate names.
@sathify Thanks for your answer. That will be a good adding to your article, because there are often times, when placeholders, mixins and functions are longer than 1 word.
What about naming long file names ? Do you use the same methodology ?
@Skoks will add it. It shouldn't really matter in the file naming case: you can user use camelcase or -
to separate out names.
Is there any reason behind using delimiters for variable names instead of camelCase ?
@sathify Thank you! :+1:
Nothing really! The repo naming convention had delimiters which I then refactored.
What naming conventions do you use for functions, placeholders and mixins ?