Kotlin: the next morning learning Kotlin stuff
G'day:Whether you like it or not, I'm just gonna continue on from yesterday's random effort: Kotlin: an afternoon learning Kotlin stuff. Hey: no-one's making you read this stuff.Next koans exercise:...
View ArticleCFML: invokeImplicitAccessor on CFCs
G'day:I noticed this yesterday when I was writing my "Kotlin: the next morning learning Kotlin stuff" article. I was looking into how Kotlin handles accessor methods on properties, and remembered CFML...
View ArticleKotlin: there's no such thing as static, apparently
G'day:Whilst writing today's previous article ("CFML: invokeImplicitAccessor on CFCs"), I noted that CFML does not support implicit accessor methods on static properties.I wanted to look at how another...
View ArticleExamining how ProxySQL works
G'day:I needed to have a mess around with ProxySQL today. I knocked together a quick Github project so I could share the code with a couple of my colleagues. It was an interesting exercise, so I...
View ArticleCFML: looking at how CFWheels messes up a loop
G'day:This exercise came about from a bug in CFWheels we encountered today.We got a notification that a user had received a 500-error, and I was looking into it. It was happening in...
View ArticleCFML: speaking of application scope proxies
G'day:OK so you probably weren't talking about application scope proxies, but I was in my previous article: CFML: looking at how CFWheels messes up a loop. In that article I look at some very...
View ArticleKotlin: another Friday afternoon, another round of random investigation
G'day:Because no-one has specifically screams "FFS stop it, Cameron", I'm gonna continue with another random Kotlin noobie investigation / brain dump. Previous similar articles here.The Nothing and...
View ArticleKotlin: looking at Numbers, more Kotest stuff, and something about "function...
G'day:Here's some new unguided Kotlin experimentation, following on from other similar articles.Firstly I inadvertantly finished yesterday's article when I was sitting on the last exercise in the first...
View ArticleCFML: working MySQL datasource in Application.cfc (this is just a...
G'day:No content in this one, I just want something I can find when I search for how to config a MySQL datasource in Application.cfc in ColdFusion. I always forget/lose the code, and I can never find...
View ArticleKotlin: scope functions (mostly)
G'day:More Kotlin learning/investigation, following on from these other Kotlin articles. This time I didn't even get to start the next koans exercise before being sidetracked.Scope functionsThere's a...
View ArticleKotlin: investigating classes
G'day:In my other random explorations of the Kotlin language, I've already used simple classes to facilitate testing other language features, but my next koans exercise (man I am progressing slowly...
View ArticleCFWheels: a recommendation for their dev team
 G'dayI'm going to pass this on to the CFWheels Dev Team, but it's applicable in anyone's code, so posting it here first.A lot of the code in the CFWheels codebase hasn't really been "designed". It's...
View ArticleKotlin: abstract classes, backing fields/properties, lateinit, and frustration
G'day:I'm just continuing on in the Kotlin "Classes" docs, carrying on from my earlier article "Kotlin: investigating classes".Abstract classesI have pretty much run with the example in the docs just...
View ArticleKotlin: looking at JUnit instead of Kotest
G'day:In the rest of my Kotlin articles thusfar I've been using Kotest for my testing. I went that direction instead of JUnit as the mindset behind xUnit style tests always seems to steer one towards...
View ArticleDRY: don't repeat yourself
G'day:This should be a short one. I've had this text lying around for a while, wondering if I could spin it out to be a longer article somehow, bt I never managed to work out how. Then a few days ago I...
View ArticleData-driven tests in JUnit and Kotest (and starting with TestBox & PHPUnit)
G'day:One thing I did not look at in any of my examinations of Kotest, and then JUnit5 was how to have data-driven tests in each platform. I'm going to start with how I'd've historically approached...
View ArticleKotlin: Data classes & componentN methods
G'day:I needed to use a "data class" in my article last night ("Data-driven tests in JUnit and Kotest (and starting with TestBox & PHPUnit)" (see the TestCase class in the Kotest example), and I...
View ArticleKotlin: getting the khttp library installed and running... then... getting...
G'day:So 50% of this was a largely fruitless exercise in the end. Other than the fact that I learned some stuff that I think is worth knowing for future reference.The next thing on my Kotlin/testing...
View ArticleKotlin/Gradle: abstracting versions into a config file, and wondering what...
G'day:Currently I have just been following the instructions fairly slavishly when it comes to my dependency management in my application. If some readme file says "put...
View Article