Page 5 of 5
Re: C coding style
Posted: Fri Jul 01, 2011 8:23 am
by Love4Boobies
I'm sure spaces will win with no trouble.
Solar wrote:Love4Boobies wrote:Pointer declarations ( int * a ) vs. dereferencing "( *a ) is a bad idea. The declaration syntax mimics expressions on purpose, I thought we were running away from edge cases. Next thing you know, we're either going to have to do stuff like ! b or char a [MAX]; --- I say we revert this.
There is the age-long discussion on
int* b (grouping the type, avoiding errors in multiple pointer declarations in a comma-separated declaration list) vs.
int *b (declaraction mimics use). I always felt that
int * b was deflating
that particular argument nicely... are you sure about that revert? You'll get
right back into the discussion with any
int* b advocates around?!?
This is similar to the problem regarding braces, where you chose to invoke a different argument
int * a; is a third possibility so it doesn't really help regarding said age-long discussion.
Re: C coding style
Posted: Fri Jul 01, 2011 8:29 am
by Combuster
Love4Boobies wrote:I don't know about you, but most of us here don't agree with copypasta.
I don't know about you, but I don't suffer from that disorder called
NIH.
Seriously, you need to learn how to argue. There is a whole lot of grey area between the cargo cult and your type and you're just abusing an hasty generalisation to force your point. Moreover, I've seen more arguments based on fallacies, false information and subjective opinions from you than anything philosophy calls legal. Should I just call you a troll and exclude you from the discussion (and with that, further influence on the style guide)?
Re: C coding style
Posted: Fri Jul 01, 2011 8:31 am
by Solar
\me bangs the hammer a bit louder...
Re: C coding style
Posted: Sat Jul 09, 2011 7:37 am
by Love4Boobies
Combuster wrote:Love4Boobies wrote:I don't know about you, but most of us here don't agree with copypasta.
I don't know about you, but I don't suffer from that disorder called
NIH.
Troll.
Seriously, you need to learn how to argue. There is a whole lot of grey area between the cargo cult and your type and you're just abusing an hasty generalisation to force your point. Moreover, I've seen more arguments based on fallacies, false information and subjective opinions from you than anything philosophy calls legal. Should I just call you a troll and exclude you from the discussion (and with that, further influence on the style guide)?
Troll.
Solar wrote:\me bangs the hammer a bit louder...
We need a bigger hammer, hehe.
Re: C coding style
Posted: Sat Jul 09, 2011 7:40 am
by Solar
Just don't feed each other, and everything will be fine.
{bang} {bang} {BANG}
Session closed.
Re: C coding style
Posted: Thu Jul 21, 2011 8:45 am
by Solar
Solar wrote:Session closed.
I added the appropriate astyle options to the Wiki for those who don't feel like reformatting stretches of source manually.
Is this ready to be pushed into the Wiki's global namespace, or do we have open issues (syntax style guide wise)?
Re: C coding style
Posted: Wed Jul 27, 2011 2:59 pm
by gravaera
I am a vengeful supporter of tabs: I will never let it go
You will never escape my fury and I am never gonna give you the chance to rest up; I am personally never gonna cease this strife! Let it be known, I will hunt you down. I am never gonna let you all run around editing the Wiki with spaces and deserting the just way of the tab; I won't let you! I am never gonna permit the way of the tab coder to become a thing of the past. I will make it gloriously return, and see you all cry. I'm never gonna stop! Say goodbye to the accord you all think you have created, for I tell you, it is a lie and it will come back to hurt you!
We may have known each other in this community for years; a time so long, that your hearts may have bonded together and you have all been aching for peace, but you're all too naive to know the real extent of my tenacity. Shy away from the way of the spacebar to walk the path of the righteous tabber; Say it: You shall stand for the way of the tab. I probably seems like we should all settle down and agree on spaces, but both sides know that tabs are superior; what's to be done about it? I've been going on about what we should do! Know that the only true peace would be to end this game! And for as long as we're gonna play it, an agreement will never be reached.
I just wanna let you all know that the tell tale sign of a dictatorship is when the leaders of the fascist side make you think that you have a say. How? They may
use a poll, or some other mechanism. Do you see what I'm saying? I have a feeling that poll was rigged! I wanna make sure we all at least have a fair vote. Understand, you tyrannical that I'm going to stand 'till the end. Again I say:
You will never escape my fury and I am never gonna give you the chance to rest up; I am personally never gonna cease this strife! Let it be known, I will hunt you down. I am never gonna let you all run around editing the Wiki with spaces and deserting the just way of the tab; I won't let you! I am never gonna permit the way of the tab coder to become a thing of the past. I will make it gloriously return, and see you all cry. I'm never gonna stop! Say goodbye to the accord you all think you have created, for I tell you, it is a lie and it will come back to hurt you!
Re: C coding style
Posted: Wed Jul 27, 2011 3:33 pm
by Love4Boobies
Is there any phpBB option to perform a breathalyzer test before logging in?
Re: C coding style
Posted: Thu Jul 28, 2011 1:17 am
by Solar
gravaera wrote:I am...
...ignored.
Just as I would have bowed to the vote had there been a majority for tab indenting, so I expect you to bow under the yoke of the space-indenting style guide. Such is the tyranny of democracy.
Nicely written rant, nevertheless.
Post Scriptum: I found a tiny little point-in-case for space indenting just now. You know "javac", the Java compiler? The one that prints compiler error messages including the offending source line and a little caret ('^') under the exact point where the error occurred?
Guess what: The caret isn't in the right position if your source is tab-indented.
No matter what your tabs are set to.
Re: C coding style
Posted: Fri Jul 29, 2011 7:17 am
by Neolander
Looks like gravaera is never gonna give you up