-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/27/2011 06:44 PM, Alexey Veselovsky wrote: > I'm trying to switch from C++ to D. But I can't find some things > that I love in C++. For example in C++ I can separate module > specification and implementation. Advertising article "The Case for > D" says that it is real in D too: > > "D has a true module system that supports separate compilation and > generates and uses module summaries (highbrowspeak for "header > files") automatically from source, so you don't need to worry > about maintaining redundant files separately, unless you really > wish to, in which case you can. Yep, that stops that nag right in > mid-sentence." > > But it is not true...
dmd -H [file] -c generates the header file for you quite nicely. no offense, I think you need a little help.. if you are on linux, man dmd is your friend. tells you all of the options and what they do. if you are not on linux, get on linux. (or use dmd --help... but mainly get linux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO0ur5AAoJENcHIWLyQiSljU4IAOpT+UzenxvZwh5VGItoGJRV XGea9f0hZkgOUe9+5ajnEOybDa83//e/WEABfjKPfHMea+I1lLySzLlUEbMAbuiD 6kELOEEc+cBAwLTdAb7h/Hmfj2jhfMimWZFeOD5bLBq9ZqMXSw7zOs7PPHc9iXXl CHSvdYTL5Xlvs5e/ELTrF7Dh/gj6pdjHWvBXaPbKbeWWklzzU+SLM/VCwRR2L7EK qz6p5knCxQbASECt6zrB2hWrMMHzhNpEZ2R7tZHxTRPN3YAKwcJxzBxAWdF+T/qq cNSM0dMzmuUfJMjIADdiekjx681AQ8REQpzU7NW08MXSKhavyyTCcVYVsl+qb5Y= =VF74 -----END PGP SIGNATURE-----