In Scala is it acceptable to have id variables written as _id instead of the regular camel case notation?In the code most variables respect the camel case notation. However for variables referring to id, I like to append _id at the end instead of Id. To me it makes it clearer and also different from other variables. Example:let's say I have an object Employee in a case classcase class Employee(id: Long, firstName: String, lastName: String, email: String, company_id: Long, job_id: Long)instead of case class Employee(id: Long, firstName: String, lastName: String, email: String, companyId: Long, jobId: Long)Thoughts?
In scala is it acceptable to have id variables written as `_id` instead of the regular camel case notation?
coding standards;scala;variables