Adam Cameron
Member since Jun 29, 2011
- Profile: /members/8555-adam-cameron.htm
- URL: http://blog.adamcameron.me
- Comments: 9
Recent Blog Comments By Adam Cameron
-
Exceptions Are For Exceptional Circumstances Is Not A Value-Add Answer
Posted on Nov 1, 2014 at 3:11 PM
I think you're being a bit precious Steve. If Andrew things something is stupid, why should he *not* say that? Why would you - indirectly - suggest he should not express his opinion? Hardly any discussions which contain no dissenting opinions are worth actually having, IMO. They're just self-congra... read more »
-
Exceptions Are For Exceptional Circumstances Is Not A Value-Add Answer
Posted on Oct 31, 2014 at 4:38 PM
@WebManWalking & @Ben: your exceptions should NEVER get to the UI anyhow. Exceptions are for developers. Error pages are for users. Indeed generally any developer-useful exception information would actually be a security consideration if bled to the user. So if you're doing that: you're doing i... read more »
-
Rule Of Thumb: Always Define And Consume An ArgumentCollection Map In A Single Context
Posted on Oct 18, 2014 at 8:32 AM
The thing is I don't think anything you say here has any bearing on whether the code is good or not, and what your advocating will neither improve nor degrade code quality. Basically what you're describing as an anti-pattern *isn't* one, and you build your case as that as your foundation, which - I... read more »
-
Rule Of Thumb: Always Define And Consume An ArgumentCollection Map In A Single Context
Posted on Oct 18, 2014 at 7:08 AM
I didn't reply to this last night when I first read it as I'd had a coupla beers. In the meantime @Peter's come along and said exactly what I thought last night, and what I still think today, with a clear head. The underlying premise of this article is faulty, so the logic that follows is misguided... read more »
-
CFAbort And OnRequestEnd() Behavior In ColdFusion 8 And ColdFusion 9
Posted on Jun 29, 2011 at 6:15 PM
Hi Peter: I'm not so sure about the JSP analogy you make there. Obviously it's absolutely on the button now that CF runs atop of Java, but CF's usage of the term "page" predates this. It's short for "web page" in the CF usage. It was perhaps relevant back when the approach to ... read more »
-
CFAbort And OnRequestEnd() Behavior In ColdFusion 8 And ColdFusion 9
Posted on Jun 29, 2011 at 5:42 PM
Hi again Mike Clearly the intent of CFABORT, irrespective of the wording of the docs, is to abort the REQUEST, not the "page" (I wish Adobe et al would stop referring to a CF file as a "page". It sounds like something someone who would say "the internets" would say. B... read more »
-
CFAbort And OnRequestEnd() Behavior In ColdFusion 8 And ColdFusion 9
Posted on Jun 29, 2011 at 1:56 PM
Hi Mike Yep, I would possibly agree if that's the way onRequestEnd() was initially implemented; but it wasn't. Equally one could - slightly semantically - that a CFABORT condition is not the request *ending*, it's the request being aborted. Not the same thing. Then again I've always thought CFABO... read more »
-
CFAbort And OnRequestEnd() Behavior In ColdFusion 8 And ColdFusion 9
Posted on Jun 29, 2011 at 1:51 PM
I've raised a bug for this to get this change backed-out: http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=86960 Pls consider voting for it. -- Adam... read more »