News for hackers. Stuff that matters.
Re:Why C++ sucks (2016 edition) by kybernetyk on Monday February 22, 2016 @03:42AM (#11149439)
>The split between source and headers is a key to good encapsulation. From a software design point of view, it's good way to break long dependency chains.

Yes, I'm currently working with Swift and I'm really missing header files. I just can't figure out how to get a quick overview of say a class' public interface without having to scroll through pages of implementation code.

Header files can be a real pain. But they are useful.

Re:Why C++ sucks (2016 edition) by apetrovic on Monday February 22, 2016 @04:11AM (#11149532)
If you're working in XCode, use Navigate -> Jump To Generated Interface.

In any other editor (including XCode) and any other language you can use code folding to quickly see all functions.

Re:Why C++ sucks (2016 edition) by kybernetyk on Monday February 22, 2016 @06:59AM (#11150216)
Thank you! I didn't know about this. This will improve my workflow considerably :)
Re:Why C++ sucks (2016 edition) by Too on Monday February 22, 2016 @06:13AM (#11150019)
I think you missed his sarcasm.