tag:blogger.com,1999:blog-4409679843337649442.post8004496162829563541..comments2023-08-23T03:56:10.732-07:00Comments on Into the Garbage Chute, Flyboy: Continued CF WhiningJames Kileyhttp://www.blogger.com/profile/09314989317011003978noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-4409679843337649442.post-14191157160004392802008-01-25T09:54:00.000-08:002008-01-25T09:54:00.000-08:00As far as I've ever known, Coldfusion has no idea ...As far as I've ever known, Coldfusion has no idea of an integer, but I've never dealt with the CFC's. I got the impression those were a bait-and-switch - the code looks more like it isn't a toy language, but you still have the same problems without that shoot-from-the-hip flexibility that you get from a toy language.<BR/> 10/4 is going to be 2.5, and never 2 unless you also do Int() on the answer, but it's really just floor() in disguise. It's not anything like a cast. Everything is a scalar - even when it's a number, you're still looking at it through the scalar lens.<BR/><BR/>My advice for working well with CF is to get dumber. You'll still have the same problems, but if you find a way to compartmentalize the things you know about computer science that tell you there is no reason a language should have these problems, and just work around it, it will be easier on you. Instead of drawing up plans for Falling Waters, it's more like drawing a map of a scooby doo haunted house without falling down a trap door or a sliding staircase.<BR/><BR/>"We just came out of the trash compactor . . . shouldn't we be wet?"<BR/>"It's not that kind of movie, kid"Anonymousnoreply@blogger.com