Comment by preg_match
1 day ago
C++ is an IDE type language in my opinion. C is not, because C doesn’t have an expressive enough type system anyway to justify it.
Yes, just use and IDE. This is a problem in Rust as well. And C#, Java, and others.
IMO you should use auto as much as possible. If the code can be written with auto, it should be. There’s no reason to repeat type definitions.
If you can use auto, what that means is the type is already statically known. C++ is a statically typed language; the compiler and tools know what type things are. So, just ask the tools, because they’re not wrong.
No comments yet
Contribute on Hacker News ↗