Hilariously, ColdFusion strikes again. I should have used pound signs around the bad_memories variable. The above code would dump the string "bad_memories".
I don't believe that /> is needed anymore. You can just use >
I unfortunately work with coldfusion/cmfl on a daily basis at my company.
I am moving the servers over to Lucee from Coldfusion 10 and trying to have any new systems built on C#/.net.
The most difficult part is getting other people on board. My manager is fine with what I am doing. He saids he is too old to learn a new language so myself and the other programmer will have to support anything I built in .net
Let me tell you folks. Writing spaghetti code with no separation of concerns and no version control is not exclusive to php
> Let me tell you folks. Writing spaghetti code with no separation of concerns and no version control is not exclusive to php
Yowza. If I can give you some unsolicited advice: get some kind of version control in place! Even if it's just a local git repo at first.
There were two things that made working in ColdFusion almost tolerable. (1) The place I worked started using an MVC framework before I left. I was pleasantly surprised by how much it improved the experience. (2) Transitioning to CFScript instead of CFML tags made a big difference as well.
But at the end of the day, it's still ColdFusion, and it drove me bonkers.
The guy who invented that syntax was J.J. Allaire. Bill Gates passed on his advisors recommendation and didn't buy Allaire because he thought the price was too high. Instead he bought a company in Hawaii building what became ASP.net. However he was quite impressed with J.J.
But years later when J.J. started a second company, it was only a few weeks old when Gates swept in and bought it for millions of dollars.. Shut it down and moved everyone to Seattle.. He immediately assigned J.J. and his team to build a new project called Azure.
J.J. Allaire's other brother and partner in ColdFusion was Jeremy. Jeremy has started two successful companies since leaving Macromedia. They are BrightCove and Circle. I don't know about Circle but at one time parts of BrightCove were running on ColdFusion.
Corrected:
<cfdump var="#bad_memories#"/>