I kind of feel like it's got to be on a case-by-case basis.
If I'm working at the method level, I'll usually move blocks of code to private methods if it makes it easier to read (being able to label the code via the method name is a huge plus in my view).
I usually do the opposite with classes, though. I find they proliferate so quickly, and things turn into a rats' nest so fast. I might just not be very good at OOP though.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I kind of feel like it's got to be on a case-by-case basis.
If I'm working at the method level, I'll usually move blocks of code to private methods if it makes it easier to read (being able to label the code via the method name is a huge plus in my view).
I usually do the opposite with classes, though. I find they proliferate so quickly, and things turn into a rats' nest so fast. I might just not be very good at OOP though.