What's the "idiomatic" position on using the metho...
# lucee
a
What's the "idiomatic" position on using the methods of the underlying Java class implemention on std CFML types? In this case calling
getTime
on a CFML datatime object? Cos I'm old and cranky, I kinda go... "hrm". But... maybe "[shrug] yeah, realistically: that's cool" would also be an option.
z
if it works and you accept the java stuff is going to be less forgiving
it's not like java api methods are subject to change
1
and you'd have test coverage anyway right?
a
Don't start me on this codebase, Zac.
😉
7-8yrs of CFWheels-app code written with no notion of the concept of testing in mind? No. This particular piece of code has no test coverage.