<div dir="ltr">On 3 September 2013 12:34, Nick Sabalausky <span dir="ltr"><<a href="mailto:SeeWebsiteToContactMe@semitwist.com" target="_blank">SeeWebsiteToContactMe@semitwist.com</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, 3 Sep 2013 11:18:03 +1000<br>
Manu <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>> wrote:<br>
><br>
> I think I've repeated myself 3 or 4 times here, but one more time for<br>
> good measure...<br>
><br>
> Requiring IDE assistance to make code _readable_ seems completely<br>
> fail to me.<br>
> 1) You're not always reading code in your IDE, often in commit logs,<br>
> diff windows, emails, chat clients.<br>
> 2) With so much hate for IDE support, it seems like a massive<br>
> contradiction to say that an IDE should be required to make code<br>
> readable.<br>
><br>
> Reading code is the most fundamental task in programming. Anything<br>
> that gets in the way of code readability is an epic fail.<br>
><br>
<br>
</div>First of all, not everybody agrees that separating out function<br>
definitions makes code easier to read rather than harder.<br>
<br>
Also, maintainability is just as important as readability, and "poor<br>
maintainability" is a very big and very common objection to C++'s<br>
separation of member function definitions from class definitions. You're<br>
essentially writing and maintaining full documentation completely by<br>
hand and a lot of people feel very bogged down by the extreme<br>
non-DRYness of that very quickly, especially when there are already so<br>
many other ways to get the same information without maintaining<br>
it manually: Automatic Doc generators, high-level IDE class browsing,<br>
and code folding (and code folding is *not* an IDE thing, but an<br>
extremely common code editor thing).<br>
</blockquote></div><br></div><div class="gmail_extra">So then don't write your code that way. I didn't tell you how to write your code.</div><div class="gmail_extra">I just said I hate inline function definitions, and so do all my colleagues. It demonstrably slowed us down, and it's annoying.</div>
</div>