[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: Revision • Posted: 2023-02-07T20:55:23.268000+00:00
Original source
That's just wrong
Archived author: Rymercyble • Posted: 2023-02-07T20:56:04.508000+00:00
Original source
and then things like this
```cpp
//wrong
if (something)
return;
if (something) return;
// correct
if (something) {
return;
}
```
but i dont want to go deeper into this bcs its just waste of time to argue about
Archived author: Bench • Posted: 2023-02-07T20:56:33.917000+00:00
Original source
You mean
```cpp
if
(something)
{ return;
}
```
Archived author: Kitzunu • Posted: 2023-02-07T20:57:02.525000+00:00
Original source
Yea cuz u wrong x)
Archived author: Rymercyble • Posted: 2023-02-07T20:57:44.749000+00:00
Original source
i would say same
Archived author: Bench • Posted: 2023-02-07T21:00:21.179000+00:00
Original source
https://tenor.com/view/knights-of-solsti...f-19561499
Archived author: Nyeriah • Posted: 2023-02-07T21:08:45.936000+00:00
Original source
```cpp
return kitzunu == mad ? lol : xd;
```