Skip to content

Comment on Elixir is for programmers

Comments

I'm very interested in Elixir but I'm having trouble understanding the benefit of the 'upcase' example at the end of the article. Compared to a single function with a conversion table, a function per character seems like a tremendous amount of overhead.

Is the purpose of implementing upcase this way to make it more easily parallelizeable in the map/reduce sense?

It's pretty cool.. read the "Okay, but just how metaprogrammable are we talking?" section in this article: http://devintorr.es/blog/2013/06/11/elixir-its-not-about-syn...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.