Hacker News new | ask | show | jobs
by arccy 398 days ago
That's called bad library design. Rather than a global, make an instantiated parser that takes in specific codecs.
1 comments

It aint matter, if format is comes from runtime then compiler will not know.