Shayne Sweeney
Member since Dec 11, 2008
- Profile: /members/2523-shayne-sweeney.htm
- URL: http://theshayne.com
- Comments: 3
Recent Blog Comments By Shayne Sweeney
-
Ask Ben: Recursive Numeric Pyramid
Posted on Dec 11, 2007 at 2:26 PM
@Gareth Yeah - I took a different approach to the problem. Not so say which is better, faster, stronger, etc... (daft punk anyone?). Warning! My opinion: I don't think the few milliseconds it takes to create the object would warrant the need to implement something procedurally, inline. I'm sure th... read more »
-
Ask Ben: Recursive Numeric Pyramid
Posted on Dec 11, 2007 at 1:19 PM
Here's my take. Comments are welcome. <cfscript> min = 0; max = 4; // code: http://shayne.pastebin.com/f9f28c41 myCounter = CreateObject("component", "Counter").init(min,max); myCounter.setDelimiter(" "); for (i=min; i <= max; ++i) { myCounter.se... read more »