String to function: any best practices?

My input routines from 30+ years ago were tighter against mistakes. They had to be, they were used by fumble-typing engineers.

They had to be, they were used by fumble-typing engineers.

Hey, I resemble that remark! 8)