If a user wants to parse integers etc. from a string, the function snprintf and family is often applied. It is a neatly simple function. This article seems to invent a problem rather than an organic one.
It's interesting how beginners are encouraged to use various string functions which are not safe to use with external input.