﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
3825	Start using template strings	sanderd17		"JavaScript offers template strings since version spidermonkey 34: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

It's completely standardised in the ES2015 standard, so syntax won't undergo any breaking changes from now on (as per the ES mantra of ""don't break the web""). There are certain advantages of using template strings:

* For simulation XML schema definitions: by including it as one big template string, the XML would keep its new lines and indentation when passed to the Engine. This would allow the engine to show better error messages when there's something wrong in the XML. 
* Different strings with variables get ugly when having a lot of things like ""+""/""+"" ... These strings get a lot less ugly when written as template strings.

But, as it's new, not all tools support it yet. So in particular:
* Syntax colouring of certain editors may be broken, tested editors:
  * Vim: works well with some syntax libraries
  * GtkSourceView (gedit and related): should be fixed in the next release: https://mail.gnome.org/archives/commits-list/2016-January/msg08480.html
  * ...
* Tools that parse JS (like our internationalisation script) may have problems with it


It would be nice to test this further against the next release."	task	new	Nice to Have	Alpha 21	UI & Simulation				
