News for hackers. Stuff that matters.
Re:A Simple Makefile for Medium-Sized C/C++ Projects by oblio on Friday August 26, 2016 @11:45AM (#12367014)
Examples from Java:

a. debug/release doesn't matter much so all Java code is in "debug" mode (http://stackoverflow.com/questions/8613535/does-java-have-de... ); the actual debugging is handled via source code/source code jars (jars are just zip files with a standard structure) -> Maven: https://maven.apache.org/plugins/maven-source-plugin/jar-moj...

b. configuration files -> Maven: https://maven.apache.org/plugins/maven-compiler-plugin/compi...

c. don't do that? :)

d. no macros and most people seem to agree that's a good thing; C macros are not really the kind of tool you want to be using, unless forced to; code generation is used instead

Regarding header files: Javadoc for humans, code inspection on the class files for IDEs. No need for separate files in a system designed after the 70s :)

There are no comments on this comment yet.