Rails Style String Inflection for Erlang
Erlang Inside - Chad DePue - September 11, 2008Long ago when I was working on the ADO.NET framework (the first version), I made a doomed argument that strongly typed DataRows should have their strongly typed container objects pluralized.
I was roundly but jovially made fun of, and everybody had a good laugh about how hard that would be for non-english languages, and all those edge cases like geese, sheep, mices, mooses, etc. I proposed that we would have two versions of Visual Studio - regular and “Zoo Edition”.
Which is one thing I like about Rails - they just did it, and allowed for people to special case the pluralizations that they get wrong.
But how does that relate to Erlang? Luke Galea at ideaforge recently released a library for rails style ‘inflection’ in erlang which replicates the ActiveSupport functionality. Support for pluralization, singularization, tableization, and more.
Categories: Blogs Erlang Inside
Erlang on Twitter
» GuduChango (Gudu Chango): RT @emanuelpeg: Vistazo a Erlang: Erlang es un lenguaje funcional del cual ya hablamos muchas veces. Por que es tan importante… http://t.…
» yfyf (ig nas): The reason (concurrency in) Go kind of sucks is because CSP kind of sucks. The opposite holds for Erlang and the Actor Model.
» WebStartupGroup (Web Startup Group): How and Why We Switched from Erlang to Python http://t.co/sh1m5DWEcl #news
» HackerTheArtist (Hacker, The Artist): From HN: How and Why We Switched from Erlang to Python http://t.co/cUwrRpqdjN
» auroberjo (John Roberts): RT @WarpEngineer: @auroberjo these people have no idea what they’re doing. If they had actually bothered to learn erlang they wouldn’t have…
» emanuelpeg (Emanuel): Vistazo a Erlang: Erlang es un lenguaje funcional del cual ya hablamos muchas veces. Por que es tan importante… http://t.co/woqnFPAea1
» dfarmer (dfarmer): @pragdave My Erlang 2nd ed. B2 epub won’t parse on Google Play Books. Any way to get it regenerated? Other prag epubs work.
» WarpEngineer (agmadi): @auroberjo these people have no idea what they’re doing. If they had actually bothered to learn erlang they wouldn’t have had any problems.
» VinodShintre (Vinod Shintre): How and Why We Switched from Erlang to Python http://t.co/9jpvH6VH5Z #attribo
» MadelynGary (MadelynGary): Feel close confirmed measure time gear pertinent to erlang woof interlude http://t.co/1oqrQBl5og
Statistics
Number of aggregated posts: 10649
Most recent article: May 19, 2013
Latest comments
» Moraru on This is Why You Spent All that Time Learning to Program: It is true that computer science was a pain in the back at time that i’ve had to learn it…
» Commercial hand dryers on Couchbase Meetup at new HQ: Buy online from here where you will get so much of variety in Commercial hand dryers for people. If you…
» Fort McMurray Homes on Motivated Reasoning and Erlang vs Python vs Node: I don’t really understand why this post is motivational? I don’t even see a post, just a title. Fort McMurray…
