So I mainly am just annoyed because there's no style documentation enshrining my personal preferences as a moral good, but anyway...<div><br></div><div>As far as Javascript, there is idiomatic js <a href="https://github.com/rwldrn/idiomatic.js/" target="_blank">https://github.com/rwldrn/idiomatic.js/</a> which is fine, but I think it's better to just use JSHint on everything, which enforces a more functional idea of style (doesn't allow goofing off with no semicolons, etc)</div>
<div><br></div><div>I'm clueless as far as Ruby/Rails style, just follow what's already there. Same as CSS; I follow kind of a 'house style' there but don't see it as terribly important as long as nobody ever ever uses real tabs.</div>
<div><br><div class="gmail_quote">On Thu, Aug 30, 2012 at 4:46 PM, Tom Hughes <span dir="ltr"><<a href="mailto:tom@compton.nu" target="_blank">tom@compton.nu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think we need to make some decisions about what our code style is, or should be, as it's very hard to evaluate a patch that cleans up style without some idea of what our style is.<br>
<br>
It's kind of complicated though, as it involves all of general ruby style, rails style/idiom, javascript style and HTML style... Oh, and CSS as well.<br>
<br>
Any thoughts on how to go about this? Any resources we can draw on rather than having to start from scratch?<span><font color="#888888"><br>
<br>
Tom<br>
<br>
-- <br>
Tom Hughes (<a href="mailto:tom@compton.nu" target="_blank">tom@compton.nu</a>)<br>
<a href="http://compton.nu/" target="_blank">http://compton.nu/</a><br>
<br>
______________________________<u></u>_________________<br>
rails-dev mailing list<br>
<a href="mailto:rails-dev@openstreetmap.org" target="_blank">rails-dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/rails-dev" target="_blank">http://lists.openstreetmap.<u></u>org/listinfo/rails-dev</a><br>
</font></span></blockquote></div><br></div>