It seems that I'm always struggling to simplify my code. As such, I was playing with Knockout today, and found that in multiple places, I needed a string containing concatenated values of multiple observables
Take this simple example of binding a dropdown to a view model, and also showing the selected value in a span. The items being bound are not simple strings, but rather, are complex objects containing multiple attributes. The string that I ultimately want to display is a concatenation of the first and last names of the employee, but without doing anything special, the rendered text will be:...