G'day:
This is just a quick follow-up tot he earlier article "Cool (I think?) Railo can have dynamic case values". Michael was wondering out loud what the CFML gets compiled down to in Java (well: he was talking bytecode, but samesame).
Thursday, 31 July 2014
Cool (I think?) Railo can have dynamic case values
G'day:
Thanks to NicholasC from IRC for putting me onto this. Apparently in Railo, one can have dynamic values for case values in a switch/case!
Thanks to NicholasC from IRC for putting me onto this. Apparently in Railo, one can have dynamic values for case values in a switch/case!
Labels:
CFML,
Nicholas Claaszen,
Railo
Tuesday, 29 July 2014
Embryonic ideas
G'day:
This is gonna have to be quick, as I've spent my "before work" blogging window chatting on Twitter / Skype with various people. So I need to get this out the door in the next 30min.Over the last week, a coupla interesting (well...) ideas have been presented to me by way of community projects. Which I might undertake.
Labels:
CFML,
Community Members
Monday, 28 July 2014
CFML survey results: scoping of variables-scope variables
G'day:
So I'll close off the survey "Survey: to scope or not to scope" now. I got a good level of response: 79 responses. Here's the aggregation of said responses. Including some charts just for you, Phil Duba.
So I'll close off the survey "Survey: to scope or not to scope" now. I got a good level of response: 79 responses. Here's the aggregation of said responses. Including some charts just for you, Phil Duba.
Sunday, 27 July 2014
7Li7W: Ruby Day 1
G'day:
That's short of "Seven Languages in Seven Weeks", btw: some ppl get arsey when I write about non-CFML stuff on a blog claiming to be about CFML, so it's an enabler for them to know to piss off and do something else instead of read this.
That's short of "Seven Languages in Seven Weeks", btw: some ppl get arsey when I write about non-CFML stuff on a blog claiming to be about CFML, so it's an enabler for them to know to piss off and do something else instead of read this.
Labels:
7Li7W,
Andrew Myers,
Ruby
Friday, 25 July 2014
<?cf ?>
G'day:
I was thinking about this independently the other day, but then the same question came up on Stack Overflow today: "Is there a shorthand for <cfoutput>", in which the punter asks if this sort of thing is possible in CFML:
Where
I was thinking about this independently the other day, but then the same question came up on Stack Overflow today: "Is there a shorthand for <cfoutput>", in which the punter asks if this sort of thing is possible in CFML:
<input name="LastName" <?> value="#FORM.LastName#" </?> />
Where
<?> / </?> is shorthand for <cfoutput>.
Labels:
CFML
Thursday, 24 July 2014
Survey: to scope or not to scope
G'day:
And, indeed as the old trope goes: "that's the question". I have been looking at some code that follows one coding standard, which says "thou shalt scope all variables". And I look at my code, in which I only scope when needed, and I really feel the former is a pile of... clutter compared to my own code.
However the scope of my own code is much narrower and much less mission critical. And only I work on it. So just because I prefer to do something a given way which specifically suits me doesn't mean that's the best way to do it.
So I want to know how you do it. And with that in mind, here's a survey for you to fill out, if you so choose: "Scoping of variables scope variables".
And, indeed as the old trope goes: "that's the question". I have been looking at some code that follows one coding standard, which says "thou shalt scope all variables". And I look at my code, in which I only scope when needed, and I really feel the former is a pile of... clutter compared to my own code.
However the scope of my own code is much narrower and much less mission critical. And only I work on it. So just because I prefer to do something a given way which specifically suits me doesn't mean that's the best way to do it.
So I want to know how you do it. And with that in mind, here's a survey for you to fill out, if you so choose: "Scoping of variables scope variables".
Subscribe to:
Posts (Atom)