[DiscordArchive] I dont touch cpp often, does cpp have a code formatter similar to how a lot of other languages do?
[DiscordArchive] I dont touch cpp often, does cpp have a code formatter similar to how a lot of other languages do?
Archived author: mynameismeat • Posted: 2023-02-07T20:50:46.140000+00:00
Original source
I dont touch cpp often, does cpp have a code formatter similar to how a lot of other languages do?
Archived author: mynameismeat • Posted: 2023-02-07T20:51:04.071000+00:00
Original source
so we could just enforce the formatter and not have to worry to much about it
Archived author: Kitzunu • Posted: 2023-02-07T20:51:10.105000+00:00
Original source
I can agree some things are stupid. Like brackets on oneliner if/else statements
Archived author: mynameismeat • Posted: 2023-02-07T20:51:21.919000+00:00
Original source
though I suppose its not that often an issue
Archived author: Bench • Posted: 2023-02-07T20:51:48.315000+00:00
Original source
```cpp
if (kitzunu == mad)
{
return lol;
}
else
{
return xd;
}
```
Archived author: Kitzunu • Posted: 2023-02-07T20:52:00.042000+00:00
Original source
Wrong, need to use <:kek:1065379143887372398>
Archived author: Rymercyble • Posted: 2023-02-07T20:52:03.268000+00:00
Original source
there are things that we can discuss about in terms of codestyle but then there is this
```cpp
ExecuteScript<PlayerScript>([&](PlayerScript* script)
{
script->OnQuestAbandon(player, questId);
});
```
like cmon man what is that
Archived author: Bench • Posted: 2023-02-07T20:52:06.954000+00:00
Original source
No emojis in cpp
Archived author: Kitzunu • Posted: 2023-02-07T20:52:39.514000+00:00
Original source
Who doesnt love lambda
Archived author: Bench • Posted: 2023-02-07T20:52:48.127000+00:00
Original source
:lambda: