Skip to main content
13 events
when toggle format what by license comment
Nov 14, 2012 at 7:46 vote accept Heinzi
Feb 6 at 17:18
Nov 9, 2012 at 6:50 comment added Jan Hudec @AlfredoOsorio: Well, it does clutter up refactored methods with lot of parameters. They live in the object, so it's better than passing all of them around, but it's worse than refactoring to reusable components that only need a limited subset of the parameters each.
Nov 8, 2012 at 17:36 comment added Alfredo Osorio @StevenJeuris I don't think it's an anti-pattern. An anti-pattern would be to clutter up refactored methods with lot parameters instead of storing this state that is common between these methods in an instance variable.
Nov 8, 2012 at 15:58 comment added Steven Jeuris Poltergeists seems to be an appropriate anti-pattern. Additionally, it doesn't seem to be a pattern, but rather a refactoring method.
Nov 8, 2012 at 15:05 comment added Steven Jeuris Very relevant link! It does smell like an anti-pattern to me. If your method is that long, perhaps parts of it could be extracted in reuseable classes or generally be refactored in a better way? I also haven't heard about this pattern before, neither can I find many other resources which makes me believe it's generally not used that much.
Nov 8, 2012 at 12:57 history edited anon CC BY-SA 3.0
added 3 characters in body
Nov 8, 2012 at 12:50 history edited anon CC BY-SA 3.0
added 23 characters in body
Nov 8, 2012 at 11:30 comment added Heinzi This sounds exactly like what I'm doing. Thanks, at least I have a name for it now. :-)
S Nov 8, 2012 at 11:19 history suggested Martijn Pieters CC BY-SA 3.0
Use markdown for the link, improve grammar.
Nov 8, 2012 at 11:11 review Suggested edits
S Nov 8, 2012 at 11:19
Nov 8, 2012 at 11:04 review First posts
Nov 8, 2012 at 11:11
Nov 8, 2012 at 10:58 history edited anon CC BY-SA 3.0
added 388 characters in body
Nov 8, 2012 at 10:47 history answered anon CC BY-SA 3.0