Hacker News new | ask | show | jobs
by bronty 4104 days ago
Cool, I've added it to the list of financial DSL resources at http://dslfin.org/resources.html

What application domain are you working in that you know all the currencies at compile-time?

1 comments

I'm not working in any application domain in particular. That DSL just popped in my mind one morning at around 4.00 A.M. when I generally wake up to urinate. :)

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.