[erlang-questions] Why do we need modules at all?

Parnell Springmeyer <>
Tue May 24 17:31:05 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I actually came here to suggest Python's implementation of packages and
modules - it confuses a lot of people at first, but it's actually quite
powerful and I wish Erlang would do something more like it.

Packages are a group of modules (modules are files in python, just like
erlang) that can be sub-divided into sub-packages within that package
using the filesystem, __init__.py files and naming. My apologies if this
is already understood.

The language I would point at as an example of a "mess" would be
something like PHP.

To comment on your suggestion: I much like the idea being able to
inherit modules, to do it the "Erlang way", I think that may be one of
the better and least painful-to-change routes.

- -- 
Parnell "ixmatus" Springmeyer (http://ixmat.us)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJN2886AAoJEPvtlbpI1POLZn0IAL2f62A5CrSroCi5XVwVACRX
Ecbq0Dzesqls61wK9gtX2lpEA16DEuxubz2m5FrGoKB18h4olrUi7fF7JCHcyEl6
+tc/rLwsGtvkE3bHrSRjbB7KTOEP1Dfa76i9xNvyPJXMZ8qdA3TBwKwiIhAx72a/
V1XkzEy4Z30UL7gWpysLkMc48p1LpoPnaTA20A5AXgcFd3SkzcuARRheWoEnuT1u
L6N3FfR3glELYaNjQYiBxbOOuR8vS4kxVxk78NLgOGY87t4JGdNvmcXt/64lhxkN
3zNJnclr8zA+JLyernUPNpGDWV9fAuzpzkDExI0+57v3MN4TpnN1GEblj8l65Ao=
=XGb2
-----END PGP SIGNATURE-----



More information about the erlang-questions mailing list