diff --git a/README.md b/README.md index 7314416..12ca595 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,17 @@ logger.atInfo().log("Image info created: [image_info_id = '{}']", imageInfo.getI ``` ### Hot to name JSON keys: -"some_key_name": "value" (snake_case) +(snake_case) +``` +"some_key_name": "value" +``` P.S. many JSON libraries (in Spring Framework), such as Jackson, support camelCase format out of the box. + But snake_case is more convenient to read now. ### Size of methods and classes: The maximum length of methods is 100 lines. The maximum class length is 1000 lines. + If the size of a method or class exceeds these values, then new business logic can only be added in the form of calling methods of other functions. + But it is better to carefully refactor it!