3 ms·
Almost like the way D programming language handle it http://dlang.org/module.html http://dlang.org/module.html
by crncosta 14y ago
Almost like the way D programming language handle it
http://dlang.org/module.html http://dlang.org/module.html
- kibwen 14y agoFor completeness, here's how Rust handles modules: http://dl.rust-lang.org/doc/tutorial.html#modules-and-crates http://dl.rust-lang.org/doc/tutorial.html#modules-and-crates Browsed golang.org for a bit and didn't find any info on how Go handles modules/packages. All I know is that it has something to do with the folder hierarchy of your project (links appreciated).
- acomjean 14y agoalso looks like ada to me with Ada.Strings.Unbounded; but "withing" ada, you'd get the parent package(s). eg you'd get Ada.Strings and Ada.Strings.Unbounded but not Ada.Strings.Fixed
- CountHackulus 14y agoWhen I saw import std.stdio; I could've sword I was looking at D for a second. So clearly I'm all for this proposal. Anything to make C++ more like D is a win in my books.