Looking at the article title, we should clarify what we mean by better and what text formatting is. Let’s start with the former. Text formatting is an important part of programming; prepared text is used in the following tasks:
Description/result of some operations
As a query for data selection in other systems
And in many other fields. Better means that sf (wissance.StringFormatter) has features that fmt hasn’t (see Chapter 1 to see our text formatting approach).
In our earlier article, we were writing about sf convenience (convenience is a thing that is subjective to humans; here, I mean convenience based on my own background). But briefly, it is more convenient to format text like: