tag:blogger.com,1999:blog-36345871.post2477947952397854966..comments2014-04-20T23:23:36.639-07:00Comments on Perl Alchemy - notes of a programmer: Controller immutabilityzbyhttp://www.blogger.com/profile/04636763782334128869noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-36345871.post-45467080474827635132009-10-28T06:46:48.502-07:002009-10-28T06:46:48.502-07:00In general I agree that mutability is often associ...In general I agree that mutability is often associated with messy and low performance code, which is why I think catalyst controller are designed to be immutable and why the current Stash is the main method of containing request state.<br /><br />As you probably know, I&#39;m not a fan of the stash, although as part of my conversation on the matter I&#39;ve seen some ideas that make it more palatable. For me, I&#39;m leaning toward a group of ideas to help reduce the need for the stash. For example, if you want a nice place to hang request associated attributes, I&#39;m thinking why not just make it easy to apply custom traits to the Catalyst::Request and put them there? I&#39;ll blog it shortly, but I think there&#39;s a lot of options on the table (some of them actually good :) )johnhttp://www.blogger.com/profile/01931127394884250158noreply@blogger.com