Skip to content

Method Too Longer error and nested functions #32

@framgeld

Description

@framgeld

Uncle Bob makes reference in his Clean Code video series that if Java had nested functions, that he would use them. Instead, he demonstrates grouping them and indenting functions in an hierarchical fashion.

C# 7.0 has nested functions. :)

I tried to use the new feature (thinking I could collate all my single-use functions into the function that requires it). Unfortunately, I was met with the warning that I had too many lines of code in the method.

I understand that this is highly likely to be a "new feature" than a bug... but I am sure there are others who would find this feature of great benefit.

Thank you for the consideration of this feature request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions