Skip to content

Property Naming #34

Answered by travisgosselin
nateklaiber asked this question in Q&A
Discussion options

You must be logged in to vote

I completely agree with you @nateklaiber . I am also a snake case fan given its clarity, its native usage in javascript/typescript deserialization, etc. However, more important than the chosen serialization casing is its consistency. If we were starting an ecosystem from scratch, I would probably go with snake_case as a personal preference. But interestingly enough, camelCase is an incredibly popular default method of property serialization in different frameworks.

Like many organizations, SPS has an interesting bifurcation in casing today in its APIs internally. Based on some internal technical reasons, existing usage, and pre-existing standards we were starting from, the SPS API Standar…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by travisgosselin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants