Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

JavaScript basically has the same functionality but with ${}. Anyone who uses named parameters in HQL or SQL queries would be very grateful for this feature as it means you no longer have to type out the same name three times for each parameter.


Still don't get the need for it.

You could always use the + operator to join strings. Even a external library would do just fine when you want to insert some kind of variable name inside strings for that purpose.

Don't really get the need for this to be a core function with such a java-unlike grammar.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: