[Codenarc-user] Deprecate GrailsSessionReferenceRule?
Brought to you by:
chrismair
From: Chris M. <chr...@ea...> - 2010-05-09 12:05:52
|
I am considering deprecating the GrailsSessionReference rule as part of the upcoming CodeNarc 0.9 release. That rule seems to end up being more trouble than it's worth. It was intended as a "governance" rule -- to allow some level of control and oversight over where state was stored in the session. This might be useful in a team environment where you have developers at different skill levels, and you just want to make sure a (relatively) inexperienced developer does not store things in the session that do not belong there. But in practice, that has not been very helpful on my projects, and just makes extra work. I've also heard from one other CodeNarc user who thought this was "bad" rule as well. I guess "deprecating" a rule means setting its "enabled" property to "false" and documenting it as deprecated.. Let me know if there are any opinions, one way or the other. Chris |