<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>20bits - Latest Comments in Erlang: An Introduction to Records</title><link>http://20bits.disqus.com/</link><description></description><atom:link href="https://20bits.disqus.com/erlang_an_introduction_to_records_20bits/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 08 May 2011 21:25:39 -0000</lastBuildDate><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-199938475</link><description>&lt;p&gt; You can select &lt;a href="http://www.vivedresses.com" rel="nofollow noopener" target="_blank" title="http://www.vivedresses.com"&gt;prom dresses&lt;/a&gt; and &lt;a href="http://www.quinceaneradresses100.com" rel="nofollow noopener" target="_blank" title="http://www.quinceaneradresses100.com"&gt;quinceanera dresses&lt;/a&gt; from an incredible number of &lt;a href="http://www.dresses-gowns.com" rel="nofollow noopener" target="_blank" title="http://www.dresses-gowns.com"&gt;prom dress&lt;/a&gt; style, colours, makes and designs, so whatever type of look you are after for this all-important &lt;a href="http://www.buyeveningdress.com" rel="nofollow noopener" target="_blank" title="http://www.buyeveningdress.com"&gt;evening dresses&lt;/a&gt;, you will have no problem achieving prom &lt;a href="http://www.bestpageantdress.com" rel="nofollow noopener" target="_blank" title="http://www.bestpageantdress.com"&gt;pageant dresses&lt;/a&gt;.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">iiiiiiibrown</dc:creator><pubDate>Sun, 08 May 2011 21:25:39 -0000</pubDate></item><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-39364307</link><description>&lt;p&gt;Thanks! &lt;br&gt;The rather light green on the grey background made it very difficult to see the difference between () and {}. It would help it the contrast was increased. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Josef</dc:creator><pubDate>Fri, 12 Mar 2010 07:08:44 -0000</pubDate></item><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-29002099</link><description>&lt;p&gt;Thanks, very precise info just what I was looking for. A brief contrasting vs. ets, dicts and maybe even Mnesia might make for a great extension to this article.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brainiac 5</dc:creator><pubDate>Fri, 08 Jan 2010 20:26:09 -0000</pubDate></item><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-24462690</link><description>&lt;p&gt;Hi, great post.&lt;/p&gt;&lt;p&gt;You have a slight mistake thought:&lt;/p&gt;&lt;p&gt;"Since Erlang is side-effect free state cannot be kept globally."&lt;br&gt;What I think you meant was that Erlang is a functional language. Functional languages don't have state. Imperative do.&lt;/p&gt;&lt;p&gt;Erlang is not side-effect free language. Printing to the console is not a side-effect free operation and you can do it from virtually everywhere in Erlang. A side effect free language would be useless - you won't be able to communicate with anything (terminal, socket, etc.). Haskell can be thought of being a side-effect free, where side effects are controller by monads.&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vladev</dc:creator><pubDate>Tue, 01 Dec 2009 15:38:53 -0000</pubDate></item><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-3793617</link><description>&lt;p&gt;Good article. Thank you for the concise and clear description of Erlang's records mechanism. It answered a few questions I had about guards,&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alain O'Dea</dc:creator><pubDate>Thu, 19 Jun 2008 11:42:36 -0000</pubDate></item><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-3793616</link><description>&lt;p&gt;Records were never intended to be anything else other than providing named fields for tuples. In this respect they *are* like C structs and should not be confused with associative arrays, use dict, orddict or gb_trees for that. Or ETS.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Virding</dc:creator><pubDate>Sun, 15 Jun 2008 16:19:55 -0000</pubDate></item><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-3793612</link><description>&lt;p&gt;Gleb,&lt;/p&gt;&lt;p&gt;Good catch.  And thanks for pointing to proplists, I didn't know about them.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jesse</dc:creator><pubDate>Sun, 15 Jun 2008 15:31:17 -0000</pubDate></item><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-3793613</link><description>&lt;p&gt;website,&lt;/p&gt;&lt;p&gt;I'm not sure if you're a real person or a spam bot, but by "a la PHP, Ruby, or Python" I meant as a first-order construct.  I'll reword it so it's less ambiguous.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jesse</dc:creator><pubDate>Sun, 15 Jun 2008 15:23:03 -0000</pubDate></item><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-3793611</link><description>&lt;p&gt;&amp;gt; so creating associative arrays a la PHP, Ruby, or Python is an impossibility. ... some more bloggery ... &amp;gt; If you want to to add and remove fields on the fly, or if you don't know what fields you'll have until runtime, you should use [dicts](&lt;a href="http://www.erlang.org/doc/man/dict.html)" rel="nofollow noopener" target="_blank" title="http://www.erlang.org/doc/man/dict.html)"&gt;http://www.erlang.org/doc/m...&lt;/a&gt; rather than records. Huh?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">website design</dc:creator><pubDate>Sun, 15 Jun 2008 13:44:32 -0000</pubDate></item><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-3793615</link><description>&lt;p&gt;Sorry for double posting.&lt;/p&gt;&lt;p&gt;&amp;gt; Perhaps a subset of the first, records are also used to keep track of configurable options.&lt;/p&gt;&lt;p&gt;Yes, records may be used for this. But sometimes proplists are better choice, take a look at &lt;a href="http://www.erlang.org/doc/man/proplists.html:" rel="nofollow noopener" target="_blank" title="http://www.erlang.org/doc/man/proplists.html:"&gt;http://www.erlang.org/doc/m...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;gt; Property lists are useful for representing inherited properties, such as &lt;br&gt;&amp;gt; options passed to a function where a user may specify options overriding &lt;br&gt;&amp;gt; the default settings, object properties, annotations, etc.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gleb Peregud</dc:creator><pubDate>Sun, 15 Jun 2008 09:46:12 -0000</pubDate></item><item><title>Re: Erlang: An Introduction to Records</title><link>http://20bits.com/articles/erlang-an-introduction-to-records/#comment-3793614</link><description>&lt;p&gt;In the "Updating Records" there is one issue.&lt;/p&gt;&lt;p&gt;Opts = #server_opts{port=80, ip="192.168.0.1"},&lt;br&gt;NewOpts = Opts#{port=7000}.&lt;/p&gt;&lt;p&gt;should look like this:&lt;/p&gt;&lt;p&gt;Opts = #server_opts{port=80, ip="192.168.0.1"},&lt;br&gt;NewOpts = Opts#server_opts{port=7000}.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gleb Peregud</dc:creator><pubDate>Sun, 15 Jun 2008 09:41:14 -0000</pubDate></item></channel></rss>