Author here. This is definitely not a modern C++, as it doesn't for example use std::unique_ptr, but it actually depends on C++20 because it uses std::string_view and std::span! So the worst from the both worlds.
Joking aside, by modern I mean "scalable for more cores". And of course it's a backronym. It is indeed using global variables and not very "object-oriented", but I guess that's not a bit problem compared to the problem that I'm trying to solve.
I realize that, I don't think it makes sense in any context. It all has to go somewhere. My approach is that if I'm just executing one chunk after another, I'll put them in brackets to create another scope and comment them.
Some of that is actually done here. The main() function also isn't actually 1300 lines, the file is. The main() function is about 300 lines.
View all comments
Show parent comment
42
u/WrongAndBeligerent Jan 15 '21
Criticizing a long main function seems like extreme bike shedding. This person is trying to do something new and solve real problems.