Andrew Kretzer
Member since Jul 13, 2019
- Profile: /members/13992-andrew-kretzer.htm
- Comments: 10
Recent Blog Comments By Andrew Kretzer
-
Working Code Podcast - Episode 023: Clean Code By Robert Martin (Part 2)
Posted on May 20, 2021 at 7:22 PM
Love the new podcast - congrats. Leaving this comment here as I don't see a place to leave comments anywhere on https://workingcode.dev/ My 2 cents: I loved this book and have read and re-read it a few times. My only comment is that I wish you would have spent (a lot) more time discussin... read more »
-
Scope Traversal Behavior With Undefined Function Arguments In Lucee CFML 5.3.6.61
Posted on Jun 25, 2020 at 7:45 PM
@Ben, I'd waited so long for full NULL support in CFML but even though Lucee has now had it for some time now, I've been reluctant to implement it out of fear!! For years I've coded around and against these CFML oddities caused by a lack of NULL support, so that now I fear a whole new batc... read more »
-
Scope Traversal Behavior With Undefined Function Arguments In Lucee CFML 5.3.6.61
Posted on Jun 24, 2020 at 3:06 PM
@Chris, Actually, I believe a closure is designed for just precisely that: to provide you with access to the scope of its outer function.... read more »
-
Rediscovering My Love Of ColdFusion And CFML In 2020
Posted on Apr 16, 2020 at 9:40 PM
@Scott - we'll have to agree to disagree as well. There are certainly times where a tag is the better choice. As an example, we do a tremendous amount of work with (much) older databases and for some of the SQL statements it is required to use both single quotes and double quotes sprinkled w... read more »
-
Using ColdFusion Tags In CFScript In Lucee CFML
Posted on Feb 11, 2020 at 4:04 PM
@Gert, Are you saying that in Lucee ALL "tag notation in cfscript" are faster than their cfscript counterparts? Or is your comment just in reference to cfloop vs. for()? If the latter, then I imagine is has to do with compiler optimizations made for those specific looping tags bu... read more »
-
Using ColdFusion Tags In CFScript In Lucee CFML
Posted on Feb 10, 2020 at 11:54 AM
Lucee also introduced something called "tag islands" which are basically the opposite of cfscript tags inside a tag-based cfc and allow you to write tag based code inside a script-based cfc. So for instance, if you wanted to have all of your cfc's in script, but still prefer writin... read more »
-
Closure Variable-Access Changes With Function Expressions vs. Function Declarations In Lucee CFML 5.3.3.62
Posted on Nov 16, 2019 at 10:56 AM
Interesting... the same is not true for Adobe ColdFusion 2018.... read more »
-
Replacing ColdFusion Query-Of-Queries (QoQ) With Array Functions In Lucee CFML 5.2.9.31
Posted on Nov 7, 2019 at 5:52 PM
@Ben, Great - looking forward to it!... read more »
-
Replacing ColdFusion Query-Of-Queries (QoQ) With Array Functions In Lucee CFML 5.2.9.31
Posted on Nov 6, 2019 at 6:38 PM
We use Lucee as middle-ware between (several) bespoke and enterprise applications. So it is a vital and common requirement to join data from multiple sources (MySQL, MSSQL, Sybase, FoxPRO... even scheduled auto-imports of xls and xlsx files). Using QoQ can be dreadful - and requires painful,... read more »
-
Caching Function Outcomes With CachedWithin Caches Both The Return Value And The Output Buffer In Lucee 5.3.2.77
Posted on Jul 13, 2019 at 10:06 AM
Damn. Working with Lucee since early Railo days and never knew about this - thanks. I am loving these Lucee posts... keep it up!... read more »