Mike Pokraka

Results 156 comments of Mike Pokraka

Personally I follow the same principle and only chain closely related entities if it aids readability (i.e. short declarations). In practice I don't chain often, and usually break up the...

I'm all in favour of a CDS guide, there's a lot of bad CDS being written out there. You'd be amazed how hard it is to convince people not to...

I don't mind horizontally aligned `=`s, but then I try to keep names of a similar length. If there's an outlier then it does decrease readablilty. FWIW, in 7.55 (or...

@nomssi , good point, but this is understandable as it started out for internal use by people who aren't bound by those restrictions. Do you mean less real world than...

Is this not adequately described [here](https://github.com/SAP/styleguides/blob/main/clean-abap/sub-sections/Exceptions.md)?

It's easy to miss, the only link is at the end of https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#throw-cx_static_check-for-manageable-exceptions It's worth exploring the sub-sections directly from here https://github.com/SAP/styleguides/tree/main/clean-abap/sub-sections The guide could probably benefit from a bit...

No static is not a bad thing, unless you work with an implementation team whose idea of OO is to cut/paste legacy code into static methods. One variant I really...

@larshp it's not online but in [the book](https://www.sap-press.com/clean-abap_5190/) ch. 4.1.1 discusses static vs instance methods. The overall gist is to prefer instance methods. On re-reading, the quote above specifically refers...

@mbtools I don't know what you mean by inheritance and redefinitions? This is exactly one of the reasons why I think explicit references are important in some cases. If I...

TBH, I've never heard the term "Exception Chaining" being used in an ABAP context. "Wrapping" not he other hand is something we rely on heavily in the ABAP world and...