After a long hiatus, I'm finally back to working my way through Seven Languages in Seven Weeks. After finishing up Scala, I'm now on the 5th language, Erlang, though it has taken me quite a bit longer than 5 weeks to get here.
Erlang, Day 1: Thoughts
The first Erlang chapter is just a gentle introduction to the language, so I haven't formed much of an impression of it yet. So far, it looks like a dynamically typed functional programming language with Prolog syntax and pattern matching. Of course, I mostly know of Erlang for its concurrency story, so I'm excited to experiment with that in later chapters.
Erlang, Day 1: Problems
Write a function that uses recursion to return the number of words in a string
Write a function that uses recursion to count to ten
Write a function that uses matching to selectively print "success" or "error: message" given input of the form {error, Message} or success
On to day 2
Check out Erlang, Day 2, for more functional programming goodness.
Translate
Popular Posts
-
<$BlogPageTitle$> <$BlogItemBody$>
-
2go has launch a new version with exciting new features. The new version is modify with new chatting room and wonderful background. The new ...
-
Police and EMS: Who’s the Boss? A look behind and beyond the conflict between EMS and law enforcement The Legal Guardian by David Givot My ...
-
Blue Rhino Propane Plant Tavares, Lake County, Florida Explosion and Fire Injuries: Eight people were injured, with at least three in cri...