Skip to content

What is considered a parameter? #359

@larshp

Description

@larshp

Relevant sections of the style guide
https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#keep-single-parameter-calls-on-one-line

Question
in

result = some_method_call( VALUE #( FOR i = 2 UNTIL i > 4 ( strings[ i ] ) ) ).

I'd say some_method_call has one parameter, and there are no additional calls, but SAP has chosen this to be formatted as

result = some_method_call( VALUE #( FOR i = 2 UNTIL i > 4
                                    ( strings[ i ] ) ) ).

which goes against the rule? What is considered a parameter and what is not?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Clarity of TextThe issue or pull request helps to improve the clarity of the textclean-abap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions