Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method Too Longer error and nested functions #32

Open
framgeld opened this issue Jul 18, 2017 · 0 comments
Open

Method Too Longer error and nested functions #32

framgeld opened this issue Jul 18, 2017 · 0 comments

Comments

@framgeld
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant