LWN.net Logo

Think carefully

Think carefully

Posted Jan 28, 2010 20:32 UTC (Thu) by viro (subscriber, #7872)
In reply to: Think carefully by ncm
Parent article: GCC to merge Go support

Care to provide any evidence supporting the claim that this kind of braino is frequent? IME it is very low-frequency and my anecdotes are worth as much as yours (i.e. nothing).

FWIW, it _is_ resolvable - comparison of frequencies of {member(deref(deref(...))), postfix increment/decrement(deref(...))} with those of deref(prefix increment/prefix decrement(...)) would make a good first approximation. And that can be measured, unlike the frequencies of brainos averaged by programmers. Feel free to take gcc (or sparse, which is easier to hack) and add tree-walker that would count such nodes in expression trees. Run it on sufficiently large and diverse codebase and report the results. Hell, extend that to other combinations of operations, add analysis of number of parens needed with different choices of precedences, prefix vs. postfix, associativity and you've got a publishable paper out of it.

Without any kind of hard data it's basically YAHolyWar and as such its proper place is in alt.sex.masturbation, not here...


(Log in to post comments)

Think carefully

Posted Jan 28, 2010 22:32 UTC (Thu) by efexis (guest, #26355) [Link]

Here's more of a place for civilised discussion, and whilst it's obviously preferable to have subjectivity not given in the tone of objectivity (it can confuse those who are learning) it's also just as preferable to have disagreements given in a more agreeable tone than refering to someones opinions as "complete BS" :-p

Think carefully

Posted Jan 29, 2010 3:19 UTC (Fri) by ncm (subscriber, #165) [Link]

I see that you are not interested in a civilized discussion. Why post at all?

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds