3 ms·
My personal preference is to always use snake case, and not just for JSON but for all javascript variables, while keeping all functions names as camel case. Sin
by bballer 9y ago
My personal preference is to always use snake case, and not just for JSON but for all javascript variables, while keeping all functions names as camel case. Since javascript doesn't have type safety I find that it makes it super easy when looking at code to quickly make a distinction of "is this a function or is this a variable".