Lightning Talk: Whitespace and the Weird Coding Style - Jonathan Tanner [ ACCU 2021 ]

preview_player
Показать описание
#Programming #Cpp #AccuConf
ACCU Twitter: @ACCUConf
---
Whitespace and the Weird Coding Style

---
Jonathan Tanner

------

Future Conferences:
ACCU 2022 Spring Conference, Bristol (UK), Marriott City Centre:
2022-04-05 to 2022-04-09.
Рекомендации по теме
Комментарии
Автор

Please don’t do that.

The following style is equally as clear and doesn’t break every possible writing convention:

```c++
some_func(
arg1,
bar(
bar_arg1,
bar_arg2
),
arg3
);
```

And yes it’s unfortunate that we can’t use trailing commas on the last items of things like function parameters.

robinmoussu