Pattern: Missing use of interpolation to compose strings
Issue: -
Using interpolation when composing strings and values is usually easier to write and read than concatenation.
Example of incorrect code:
'Hello, ' + name + '! You are ' + (year - birth) + ' years old.';
Example of correct code:
'Hello, $name! You are ${year - birth} years old.';