:: Re: [DNG] About the rust language
Top Pagina
Delete this message
Reply to this message
Auteur: Hendrik Boom
Datum:  
Aan: dng
Onderwerp: Re: [DNG] About the rust language
On Wed, May 29, 2024 at 10:11:18AM +0200, Daniel Abrecht via Dng wrote:
> I think the thing I dislike most about modern languages in general, is the
> way they are built.
>
> With C, I have independent compilation units, and header files, which serve
> as interfaces.
> Header files in the way of including code aren't good design. But having a
> separation between interface and implementation on this level, is very
> useful.


In Modula 3, interfaces are in separate files from the module implementations.
In fact, you have to compile the interface before you compile the implementation.

-- hendrik