snek_boi@lemmy.ml to Programming@programming.dev · 1 year agoAre 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?message-squaremessage-square11fedilinkarrow-up140arrow-down11
arrow-up139arrow-down1message-squareAre 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?snek_boi@lemmy.ml to Programming@programming.dev · 1 year agomessage-square11fedilink
minus-squarevector_zero@lemmy.worldlinkfedilinkarrow-up2·1 year agoKnowing programmers, I think a major unintended side effect of such a paradigm would be HUGE monolithic source files.
minus-squaresparr@lemmy.worldlinkfedilinkEnglisharrow-up4·1 year agoNah, you’d just get a preprocessor like C/C++ to do #include for you prior to compiling.
Knowing programmers, I think a major unintended side effect of such a paradigm would be HUGE monolithic source files.
Nah, you’d just get a preprocessor like C/C++ to do #include for you prior to compiling.