Re:What I Like About PHP
by tiglionabbit on Tuesday December 09, 2014 @08:53PM
(#8727234)
Well sure, but you can put arbitrary expressions in the #{} syntax. PHP has a similar syntax for that.
I just run `coffee -wc .` on my source directory and pretend I'm using JavaScript everywhere else.
On one hand, it looks nicely terse. On the other hand it looks a bit cryptic.
The thing that stops me from trying it for a project is not the language, but the available environments. Having an additional compliation step adds complexity to the system and the workflow.
One thing I cannot resist to say is that to me "hello $name" is sexier then "hello #{name}" :)