by bronty · 11y ago · 0 comments
What application domain are you working in that you know all the currencies at compile-time?
Of course I didn't code all the currencies by hand. I just got the currency list from the Internet and then, using a RegExp, I generated the code.