Hacker News new | ask | show | jobs
by stop50 1606 days ago
Its nice, but the ifs are a bit useless. I would use switch-case for this