Closed pokrakam closed 3 years ago
@pokrakam That was indeed an omission. Our plan was, and still is, that this repository is the leading artifact. The book should provide additional content that helps understanding, but it shouldn't contain exclusive guidelines.
I think the style guide should contain some guidance on the use of static method calls, especially within a class. My opinion on the ways to call a static method are:
In the book chapter 4.1.1 does offer some guidance, suggesting: Make the fact that you’re calling a static method clear by always qualifying the method call with the class name.
Also see discussion at https://github.com/abaplint/abaplint/issues/1952
On a general note, the book is great but I believe the core guidelines elements (grey boxes) should be part of the style guides in order to foster wider adoption and none of them should be exclusive to the book. For most part this seems to be the case and I hope this was just an omission. The book is an excellent educational resource beyond the style guides with all its practical examples and deep dives into the rationale behind the guides.