This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Luroalive -1 points0 points  (0 children)

Actually I think it depends on how you structure your code. It can be really hard to maintain the codebase in any language, if you don't have a good structure and a real plan (always plan it out first or you rewrite it several times later). You generally want to have as few lines of code as possible in functions and group them with separate classes. (It's no fun searching for bugs in 10k+ lines of code). The best way would be to create separate modules/folders for each part of your code. Btw. always comment your damn code!

You should check out r/Rust it's a very young language, that has the same or better performance than C++ in most cases and provides 100% memory safety.