What is the standard naming convention for html/css ids and classes? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 10 months ago. The community reviewed whether to reopen this question 3 months ago and left it closed: Original close reason(s) were … Read more

Java Interfaces/Implementation naming convention [duplicate]

This question already has answers here: Interface naming in Java [closed] (11 answers) Closed 6 years ago. How do you name different classes / interfaces you create? Sometimes I don’t have implementation information to add to the implementation name – like interface FileHandler and class SqlFileHandler. When this happens I usually name the interface in … Read more

Is there a naming convention for git repositories?

For example, I have a RESTful service called Purchase Service. Should I name my repository: purchaserestservice purchase-rest-service purchase_rest_service or something else? What’s the convention? How about in Github? Should public repositories follow some standard? 6 Answers 6 I’d go for purchase-rest-service. Reasons: What is “pur chase rests ervice”? Long, concatenated words are hard to understand. … Read more

What is the convention for word separator in Java package names?

How should one separate words in package names? Which of the following are correct? com.stackoverflow.my_package (Snake Case using underscore) com.stackoverflow.my-package (Kebab Case using hyphens) com.stackoverflow.myPackage (Camel Case) com.stackoverflow.MyPackage (Pascal Case) What is the general standard? 7 Answers 7 All three are not the conventions. Use com.stackoverflow.mypackage. The package names do not follow camel casing or … Read more