DEV Community

Discussion on: Coding Best Practices Part 1 (Naming Conventions & Class Designing Principles)

Collapse
 
mohitrajput987 profile image
Mohit Rajput

At the end, I mentioned that this is more of Java, C++ and PHP languages.
Languages like Python, ROR have different styles and use underscore as well. But class design principles are applicable everywhere in OOP.

Collapse
 
kardonice profile image
shitpost_​​​​​​​bot

The class design principles are definitely useful. But I think it's worth highlighting that rather than having a single, unifying style guide, that you should follow the conventions of the language or framework you are using, which will make your code readable, hopefully idiomatic, and easy-to-maintain.