DEV Community

Understanding SOLID Principles with Java

Diallo Mamadou Pathé on August 23, 2023

Introduction: SOLID is an acronym that represents a set of five design principles for writing maintainable and scalable software. These principles...
Collapse
 
cicirello profile image
Vincent A. Cicirello

Hi. Consider using syntax highlighting with your code examples. It will improve readability. Here is how to do it.

```Java
public class Foo {

}
```
Enter fullscreen mode Exit fullscreen mode

The above produces:

public class Foo {

}
Enter fullscreen mode Exit fullscreen mode

It works for most languages. Just change Java to relevant language name.

Collapse
 
pathus90 profile image
Diallo Mamadou Pathé

Thank you.