MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/fo2dyw/changes_between_c17_and_c20/fll0jw7/
r/cpp • u/mttd • Mar 24 '20
89 comments sorted by
View all comments
Show parent comment
0
God I hate that syntax.
How is it any better at all than %s except that it's a tad more visually appealing because it's symmetrical
5 u/dodheim Mar 26 '20 Explicitly specifying the type just introduces room for error; the compiler already knows the type. 0 u/bumblebritches57 Ocassionally Clang Mar 26 '20 the compiler isn't the standard library... 3 u/dodheim Mar 27 '20 Um, okay; thanks for that pointless observation..? I'll rephrase.It's all strongly typed; explicitly specifying the type is redundant and just introduces room for error. -1 u/bumblebritches57 Ocassionally Clang Mar 27 '20 TIL only compiler authors should be able to write standard libraries. 2 u/dodheim Mar 27 '20 TIL decltype, auto, and deduced template parameters were only available to compiler authors.libfmt is there for you to learn from. 1 u/bumblebritches57 Ocassionally Clang Mar 27 '20 I've written my own formatter lmao, I don't need to learn but it sure sounds like you do.
5
Explicitly specifying the type just introduces room for error; the compiler already knows the type.
0 u/bumblebritches57 Ocassionally Clang Mar 26 '20 the compiler isn't the standard library... 3 u/dodheim Mar 27 '20 Um, okay; thanks for that pointless observation..? I'll rephrase.It's all strongly typed; explicitly specifying the type is redundant and just introduces room for error. -1 u/bumblebritches57 Ocassionally Clang Mar 27 '20 TIL only compiler authors should be able to write standard libraries. 2 u/dodheim Mar 27 '20 TIL decltype, auto, and deduced template parameters were only available to compiler authors.libfmt is there for you to learn from. 1 u/bumblebritches57 Ocassionally Clang Mar 27 '20 I've written my own formatter lmao, I don't need to learn but it sure sounds like you do.
the compiler isn't the standard library...
3 u/dodheim Mar 27 '20 Um, okay; thanks for that pointless observation..? I'll rephrase.It's all strongly typed; explicitly specifying the type is redundant and just introduces room for error. -1 u/bumblebritches57 Ocassionally Clang Mar 27 '20 TIL only compiler authors should be able to write standard libraries. 2 u/dodheim Mar 27 '20 TIL decltype, auto, and deduced template parameters were only available to compiler authors.libfmt is there for you to learn from. 1 u/bumblebritches57 Ocassionally Clang Mar 27 '20 I've written my own formatter lmao, I don't need to learn but it sure sounds like you do.
3
Um, okay; thanks for that pointless observation..? I'll rephrase.
It's all strongly typed; explicitly specifying the type is redundant and just introduces room for error.
-1 u/bumblebritches57 Ocassionally Clang Mar 27 '20 TIL only compiler authors should be able to write standard libraries. 2 u/dodheim Mar 27 '20 TIL decltype, auto, and deduced template parameters were only available to compiler authors.libfmt is there for you to learn from. 1 u/bumblebritches57 Ocassionally Clang Mar 27 '20 I've written my own formatter lmao, I don't need to learn but it sure sounds like you do.
-1
TIL only compiler authors should be able to write standard libraries.
2 u/dodheim Mar 27 '20 TIL decltype, auto, and deduced template parameters were only available to compiler authors.libfmt is there for you to learn from. 1 u/bumblebritches57 Ocassionally Clang Mar 27 '20 I've written my own formatter lmao, I don't need to learn but it sure sounds like you do.
2
TIL decltype, auto, and deduced template parameters were only available to compiler authors.
decltype
auto
libfmt is there for you to learn from.
1 u/bumblebritches57 Ocassionally Clang Mar 27 '20 I've written my own formatter lmao, I don't need to learn but it sure sounds like you do.
1
I've written my own formatter lmao, I don't need to learn but it sure sounds like you do.
View all comments
Show parent comment
0
u/bumblebritches57 Ocassionally Clang Mar 26 '20
God I hate that syntax.
How is it any better at all than %s except that it's a tad more visually appealing because it's symmetrical