[GameMode] Y-Core + Y-RP development thread
#19

Quote:
Originally Posted by Kaperstone
Посмотреть сообщение
Код:
// Wrong
Function() {
	
}

// Right
Function()
{

}
You're aware that both are right?(And will compile fine) Right?
The only difference is that the second either a waste of space or is used for people to say how "good they are at coding that they made a 30k line code" when most of their code is coded like this;

Dunno why people say the second is "clearer", both are clear, just that the first has less "wasted lines"

You can also code like so
Код:
Code { 

    // code

}
I know that its a coding style, but it's not conventional, its randomatic and you haven't limited it to the code on your repo but generally emphasized that coding should be done with line breaking brackets only. (which is in my personal opinion, wrong and I rather avoid from using a library that forces me to do break lines)

Moreover, y_inline afaik supports both inline and line-broken brackets (like foreach)
Of course he knows! This is his project, and he should choose how he wants people to contribute regardless if it's something as small as that. Personally I probably wouldn't care to much for that, but if you want everything to be similar to another style of code then so be it, and I'm sure he's not going for lines as he's trying to mimic a modular setup so unless he wants to brag about a few extra lines I doubt it's for that cause.

I wouldn't really say it's a waste of space it's more of how the person maintaining the project wants to look at it. It's really not that big of an issue.
Reply


Messages In This Thread
Y-Core + Y-RP development thread - by Misiur - 31.08.2017, 00:58
Re: Y-Core + Y-RP development thread - by Wolfe - 31.08.2017, 01:04
Re: Y-Core + Y-RP development thread - by Misiur - 31.08.2017, 01:13
Re: Y-Core + Y-RP development thread - by Aerotactics - 31.08.2017, 02:03
Re: Y-Core + Y-RP development thread - by Misiur - 31.08.2017, 02:08
Re: Y-Core + Y-RP development thread - by nG Inverse - 31.08.2017, 03:06
Re: Y-Core + Y-RP development thread - by CoaPsyFactor - 31.08.2017, 04:14
Re: Y-Core + Y-RP development thread - by Misiur - 08.09.2017, 03:26
Re: Y-Core + Y-RP development thread - by Zeth - 09.09.2017, 07:47
Re: Y-Core + Y-RP development thread - by wallee - 09.09.2017, 08:13
Re: Y-Core + Y-RP development thread - by nG Inverse - 10.09.2017, 20:53
Re: Y-Core + Y-RP development thread - by Logic_ - 10.09.2017, 21:02
Re: Y-Core + Y-RP development thread - by nG Inverse - 10.09.2017, 21:12
Re: Y-Core + Y-RP development thread - by Paulice - 10.09.2017, 23:39
Re: Y-Core + Y-RP development thread - by JesterlJoker - 12.09.2017, 11:57
Re: Y-Core + Y-RP development thread - by Paulice - 12.09.2017, 14:51
Re: Y-Core + Y-RP development thread - by Kaperstone - 12.09.2017, 16:30
Re: Y-Core + Y-RP development thread - by Djole1337 - 13.09.2017, 16:01
Re: Y-Core + Y-RP development thread - by Wolfe - 13.09.2017, 16:17
Re: Y-Core + Y-RP development thread - by Misiur - 13.09.2017, 16:37
Re: Y-Core + Y-RP development thread - by Misiur - 13.09.2017, 18:10
Re: Y-Core + Y-RP development thread - by Paulice - 13.09.2017, 19:20
Re: Y-Core + Y-RP development thread - by DonaldDuck - 15.09.2017, 11:55
Re: Y-Core + Y-RP development thread - by Meller - 15.09.2017, 14:59
Re: Y-Core + Y-RP development thread - by Kaperstone - 15.09.2017, 15:02
Re: Y-Core + Y-RP development thread - by DonaldDuck - 21.09.2017, 00:33
Re: Y-Core + Y-RP development thread - by AzaMx - 21.09.2017, 03:29
Re: Y-Core + Y-RP development thread - by Paulice - 21.09.2017, 03:47
Re: Y-Core + Y-RP development thread - by Kaperstone - 21.09.2017, 14:10
Re: Y-Core + Y-RP development thread - by Skream - 21.09.2017, 20:09
Re: Y-Core + Y-RP development thread - by MicroD - 22.09.2017, 10:52
Re: Y-Core + Y-RP development thread - by Kaperstone - 22.09.2017, 14:07
Re: Y-Core + Y-RP development thread - by Logic_ - 22.09.2017, 19:04
Re: Y-Core + Y-RP development thread - by Misiur - 22.09.2017, 20:17
Re: Y-Core + Y-RP development thread - by Logic_ - 22.09.2017, 20:22
Re: Y-Core + Y-RP development thread - by Misiur - 28.09.2017, 01:35

Forum Jump:


Users browsing this thread: 1 Guest(s)