© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
9 replies
storm_trooper232
❔ Return in the middle of a method
Is it ok
?
I think that it improves readability and performance
, but a professor I know argues that it makes it harder to determine the state of a program and is therefore bad practice
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Method doesnt return
C
C# / help
3y ago
✅ How to return null in a generalized method?
C
C# / help
4y ago
❔ Return two values from a method
C
C# / help
3y ago
❔ Change backcolor of middle column in a grid
C
C# / help
4y ago