User avatar
illy [Shrimple-mode] protomoji_orange_flag_lesbian @illyBytes@shrimp.imsofucking.gay
1w
looking again at that sus performance c++ video

why tf is his main auto AND int???
1
0
3
0
User avatar
korin 🔜 kodi @korin@roark.voluminum.net
1w
@illyBytes was it like some weird auto main() -> int thing
2
0
1
0
User avatar
illy [Shrimple-mode] protomoji_orange_flag_lesbian @illyBytes@shrimp.imsofucking.gay
1w
@korin is there an actual reason do that or is he just larping c++?
1
0
1
0
User avatar
korin 🔜 kodi @korin@roark.voluminum.net
1w
@illyBytes apparently it's been in c++ since c++11 though i have no clue what it is for and feels kinda redundant
1
0
1
0
User avatar
illy [Shrimple-mode] protomoji_orange_flag_lesbian @illyBytes@shrimp.imsofucking.gay
1w
@korin apparently its only for aesthetics according to wikipedia

then why fucking have auto??? is it because accessing struct pointer items uses -> already? 😭
1
0
1
0

User avatar
korin 🔜 kodi @korin@roark.voluminum.net
1w
@illyBytes ISO finding every possible way to make C++ more unnecessarily complicated:
1
0
1
0
User avatar
illy [Shrimple-mode] protomoji_orange_flag_lesbian @illyBytes@shrimp.imsofucking.gay
1w
@korin idea: they shouldve dropped the -> notation for struct pointers, made it just ., tsoding already proved that its as easy as changing like a few lines in the lexer, then remove auto just make it functionname(param) -> type
0
0
1
0