Are there contemporary programming languages that do *NOT* have the ability to import functions or values or whatever from other files? Are there situations in which that would be a feature? - eviltoast
  • sparr@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    No, it can’t. The compiler can’t do anything with content from any file not explicitly passed to it. You’re mixing up the compiler and the linker (and the linker has nothing to do with either language, it can link binaries compiled from any language).