<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">> ROK said:</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">> Yawn.</pre><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">(What am I doing trying to argue with ROK??? Am I MAD?)</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">1) Why is it people rant about "string handling" in Erlang?</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">2) Principle of least surprise:</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">1> [H|T] = [22,87,65,84,33].</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">[22,87,65,84,33]</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">2> H.</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">3> T.</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">"WAT!”</div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">3) A codec should be perfectly reversible i.e. X = encode(decode(X)). Without tagging, merely parsing out a string as a list is not perfectly reversible.</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">4) What is the right way to implement the function is_string(List) correctly?</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">*ducks*</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class="">/s</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Courier New';" class=""><br class=""></div></body></html>