I just got done going over the module slides. I hadn't heard of them, but they 
seem like a really good idea.

If you think headers are a good thing, read them:
http://llvm.org/devmtg/2012-11/Gregor-Modules.pdf


Why do you need over 1 meg of headers for an 80 byte file? People turn to PCH, 
but that's just doubling down on a mistake. 



________________________________
 From: Jason H <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Monday, March 3, 2014 11:49 PM
Subject: Re: [Qt-creator] Whacky thought of the day
 


Headers are not a feature. They violate DRY, and create additional maintenance. 
They are a hack to deal with C++ compiler limitations to provide quick type 
checking and parameter matching. If it could be done over (and it has with 
Java, Python, and C#) they would not continue to separate prototypes from 
implementation. Your tools should do the work, not you. There is nothing the 
separation adds, other than additional work an chance for errors. 



________________________________
 From: Vojtěch Král <[email protected]>
To: [email protected] 
Sent: Monday, March 3, 2014 8:37 PM
Subject: Re: [Qt-creator] Whacky thought of the day
 


Hi,
I don't really see why you would want to do something like that. Headers are a 
feature, not a bug. I don't think many people would regard that as an 
"elevation".
Regards, VK
 
On 2014-03-04 01:17, Jason H wrote:
So Qt comes along and helps kick C++ into the modern era.  I was wondering if 
we could use Qt Creator to address one of my remaining complaints of C++.
> 
>I really like languages like Python, C#, and Java where there is only an 
>implementation file. While we can't get rid of headers, it would be cool if we 
>could define a class file that gets split by QtCreator or qmake that would 
>prepare the .h and .cpp files from a unified file. 
> 
>Creator helps with the maintaining the header and the C with the light bulb, 
>but this isn't as elegant as having one file that controls both. I'm wondering 
>if its possible and f clang would be any help in reaching this new level of 
>elevating C++?
>
>_______________________________________________
Qt-creator mailing list [email protected] 
http://lists.qt-project.org/mailman/listinfo/qt-creator 

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator




_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to