<div dir="ltr">"<span style="font-family:arial,sans-serif;font-size:13px">I feel I should write a detailed explanation of my workflow somewhere.</span>"<div><br></div><div>+1</div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On 20 June 2014 16:10, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 06/20/2014 04:47 PM, Leonard Boyce wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Jun 20, 2014 at 9:06 AM, Loïc Hoguin <<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I mean what.<br>
</blockquote>
<br>
It's not a holy war :)<br>
</blockquote>
<br></div>
That was just my reaction, sorry. A more polite kind of "What the .. are they doing?".<br>
<br>
I feel I should write a detailed explanation of my workflow somewhere. Too often do I read people having too many issues than they should. My workflow isn't perfect by any means, but it probably wouldn't hurt to put it into words. (rebar users be damned though, because I don't use it.)<div class="">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
They are using Sublime as that's their editor of choice.<br>
When I started learning Erlang I was informed that the 'defacto'<br>
standard for indentation is the indentation used by elang mode for<br>
emacs as this was the primary erlang editor. Maybe I was misinformed,<br>
but that became our coding standard. Others developers use emacs or<br>
ElrIDE (which uses the same indentation as emacs). No other 'popular'<br>
editor correctly supports the 'emacs style' indentation for Erlang.<br>
Maybe it's just me but I like consistency and my mind is 'trained' to<br>
match this indentation format.<br>
</blockquote>
<br></div>
The standard is "indent the same as the code around your change". True not only for third party projects but also for OTP code.<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you. This is something which is not really covered as an "Erlang<br>
best practice" in anything I've seen to date. My guys want to write<br>
tests for every possible return from every single function. I'm even<br>
seeing tests which are actually testing returns from OTP function<br>
calls.<br>
</blockquote>
<br></div>
If you really want to test all possible cases you should take a look at property based testing, but beware of the learning curve.<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Maybe someone smarter can point out the error as I certainly cannot see it :(<br>
</blockquote>
<br></div>
I do not see it, but if I had to guess I'd say it generates the PLT every time.<br>
<br>
By the way, shameless plug if you like makefiles: <a href="https://github.com/extend/erlang.mk" target="_blank">https://github.com/extend/<u></u>erlang.mk</a><div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
And yet the 1st documentation link on <a href="http://www.erlang.org/doc.html" target="_blank">http://www.erlang.org/doc.html</a><br>
(the title "Erlang/OTP documentation") is to the *non* searchable<br>
version <a href="http://www.erlang.org/doc/" target="_blank">http://www.erlang.org/doc/</a>.<br>
Yes, right in that paragraph is a link to the searchable version, but<br>
if they already have the link to what they're looking for, why would<br>
they even bother reading that paragraph.<br>
</blockquote>
<br></div>
I am not disagreeing with you there, switching the links out would definitely be better.<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Loïc Hoguin<br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>