4 ms·
> I've had some good times in C++. But for everything that's been thrown into it, I can't believe we're still dealing with header files. There is nothing wrong
by motorest 2y ago
> I've had some good times in C++. But for everything that's been thrown into it, I can't believe we're still dealing with header files.
There is nothing wrong with header files. In fact, there is no such thing as a header file specified in C++. There are only forward declarations and definitions, and how those can be managed by developers.
Meaning, any talk about header files is a discussion on software engineering practices, and how developers create or avoid their own problems.
- DidYaWipe 2y ago"There are only forward declarations and definitions, and how those can be managed by developers." Why do we need to manage them?
- motorest 2y ago> Why do we need to manage them? Why do developers need to write code that makes sense and does what they want it to do?
- DidYaWipe 2y agoEnjoy your echo chamber.
- motorest 2y ago> Enjoy your echo chamber. Is that supposed to mean anything at all?
- BeetleB 2y agoWhy do developers in other languages not have to deal with it?
- motorest 2y ago> Why do developers in other languages not have to deal with it? They do, except they don't have the bandwagon effect motivating them to complain about other solved problems.
- amelius 2y agoBecause nobody has figured out a way to automate the process of generating declarations from definitions.
- rogual 2y agohttps://github.com/rogual/csaw https://github.com/rogual/csaw