wtf is this formatting , you are a professor , dont pull this bullshit on me
Post
Remote status
Context
4@reia ITS NOT EVEN PROPER GNU STYLE THE INDENTATION IS ALL WRONG
@phnt@fluffytail.org @fiore@brain.worm.pink @reia@linfan.moe I don't use GNU style in my code either, but I do wanna ask; Do people just not like the GNU style because they are not used to it? Or is GNU style objectively bad in some way?
Replies
13Like look at this monstrosity
#include <stdio.h>
int
main (void)
{
int i = 1;
if (i == 1)
{
printf ("Hello world!\n");
return 0;
}
else if (i != 1)
{
printf ("unreachable\n");
return 1;
}
}
@phnt@fluffytail.org @fiore@brain.worm.pink @reia@linfan.moe
1 tab/8 spacesI think you're the weirdo here.
@phnt@fluffytail.org @newt@stereophonic.space @fiore@brain.worm.pink @reia@linfan.moe Emacs is a lisp interpreter that has a text editor built into it.
emacs has no text editor, tho with enough lisping some emac users have managed to cobble vim emulation as a feature of the emacs operating system.
@phnt@fluffytail.org @fiore@brain.worm.pink @reia@linfan.moe A tab should be four spaces. Default vim config is just simply wrong.
@SuperDicq @phnt @reia have you SEEN it .
@fiore@brain.worm.pink @phnt@fluffytail.org @reia@linfan.moe I was asking if it is objectively bad and your reaction is to respond in the most subjective manner possible. And of course I have seen GNU code before.
@SuperDicq @phnt @reia its bad because half tabs are not a thing so if u do gnu style u have to use spaces .